Enum jlrs::error::JlrsError[][src]

pub enum JlrsError {
    Other(Box<dyn Error + Send + Sync>),
    Exception(String),
    AlreadyInitialized,
    ConstAlreadyExists(String),
    NotAnArray,
    Nothing,
    NotADataType,
    NotAMethod,
    NotAMethodInstance,
    NotACodeInstance,
    NotAWeakRef,
    NotATypeMapEntry,
    NotATypeMapLevel,
    NotAnExpr,
    NotATask,
    NotASymbol,
    NotAString,
    NotUnicode,
    NotAnSVec,
    NotAnSSAValue,
    NotATypeName,
    NotATypeVar,
    NotATypeLB(String),
    NotATypeUB(String),
    NotAUnion,
    InvalidBody(String),
    NotAKind(String),
    NotAUnionAll,
    FunctionNotFound(String),
    IncludeNotFound(String),
    IncludeError(StringString),
    NoSuchField(String),
    InvalidArrayType,
    InvalidLayout,
    InvalidCharacter,
    NotAModule(String),
    NotAMethTable,
    AllocError(AllocError),
    WrongType,
    NotInline,
    NullFrame,
    Inline,
    NotAPointerField(usize),
    ZeroDimension,
    OutOfBounds(usizeusize),
    InvalidIndex(DimensionsDimensions),
    Immutable,
    NotSubtype,
    NotConcrete(String),
    NamedTupleSizeMismatch(usizeusize),
}

All different errors.

Variants

Other(Box<dyn Error + Send + Sync>)
Exception(String)
AlreadyInitialized
ConstAlreadyExists(String)
NotAnArray
Nothing
NotADataType
NotAMethod
NotAMethodInstance
NotACodeInstance
NotAWeakRef
NotATypeMapEntry
NotATypeMapLevel
NotAnExpr
NotATask
NotASymbol
NotAString
NotUnicode
NotAnSVec
NotAnSSAValue
NotATypeName
NotATypeVar
NotATypeLB(String)
NotATypeUB(String)
NotAUnion
InvalidBody(String)
NotAKind(String)
NotAUnionAll
FunctionNotFound(String)
IncludeNotFound(String)
IncludeError(StringString)
NoSuchField(String)
InvalidArrayType
InvalidLayout
InvalidCharacter
NotAModule(String)
NotAMethTable
AllocError(AllocError)
WrongType
NotInline
NullFrame
Inline
NotAPointerField(usize)
ZeroDimension
OutOfBounds(usizeusize)
InvalidIndex(DimensionsDimensions)
Immutable
NotSubtype
NotConcrete(String)
NamedTupleSizeMismatch(usizeusize)

Trait Implementations

impl Debug for JlrsError[src]

impl Display for JlrsError[src]

impl Error for JlrsError[src]

impl Into<JlrsError> for AllocError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.