PerlError
public enum PerlError : Error
Enumeration of the possible errors.
-
A
die
occurred in Perl. Text of the error or a SV die was called with will be in an associated value.Declaration
Swift
case died(_: PerlScalar)
-
A stack count is lower then an
at
.Declaration
Swift
case noArgumentOnStack(at: Int)
-
An undefined value was received in place not supposed to.
Declaration
Swift
case unexpectedUndef(_: AnyPerl)
-
SV of an unexpected type was recevied.
-
SV is not a number (integer or double) of appropriate range.
Declaration
Swift
case notNumber(_: AnyPerl, want: Any.Type)
-
SV is not a string or a number (integer or double).
Declaration
Swift
case notStringOrNumber(_: AnyPerl)
-
SV is not a reference.
Declaration
Swift
case notReference(_: AnyPerl)
-
SV is not an object, but we suppose it to be.
Declaration
Swift
case notObject(_: AnyPerl)
-
SV is not a wrapped Swift object, but we suppose it to be.
Declaration
Swift
case notSwiftObject(_: AnyPerl)
-
SV bridges to an object of an unexpected type.
-
Element with the index
at
not exists in the array.Declaration
Swift
case elementNotExists(_: PerlArray, at: Int)
-
Odd number of elements in hash assignment.
Declaration
Swift
case oddElementsHash