pub enum InterpretingError {
Show 54 variants
NoError,
FinalVarChange,
ToManyInnerLinks,
NoLangFile,
FileNotFound,
InvalidFuncPtr,
StackOverflow,
NoTerminal,
InvalidArgCount,
InvalidLogLevel,
InvalidArrPtr,
NoHexNum,
NoChar,
NoNum,
DivByZero,
NegativeArrayLen,
EmptyArray,
LengthNan,
IndexOutOfBounds,
ArgCountNotArrLen,
InvalidFuncPtrLoop,
InvalidArguments,
FunctionNotFound,
Eof,
SystemError,
NegativeRepeatCount,
TransKeyNotFound,
FunctionNotSupported,
BracketMismatch,
ContFlowArgMissing,
InvalidAstNode,
InvalidPtr,
IncompatibleDataType,
LangArraysCopy,
LangVerError,
InvalidConPart,
InvalidFormat,
InvalidAssignment,
NoBinNum,
NoOctNum,
NoBaseNNum,
InvalidNumberBase,
InvalidRegexSyntax,
InvalidTemplateSyntax,
InvalidModule,
ModuleLoadUnloadErr,
MemberNotAccessible,
DeprecatedFuncCall,
NoTerminalWarning,
LangVerWarning,
InvalidExecFlagData,
VarShadowingWarning,
UndefEscapeSequence,
InvalidDocComment,
}
Variants§
NoError
FinalVarChange
ToManyInnerLinks
NoLangFile
FileNotFound
InvalidFuncPtr
StackOverflow
NoTerminal
InvalidArgCount
InvalidLogLevel
InvalidArrPtr
NoHexNum
NoChar
NoNum
DivByZero
NegativeArrayLen
EmptyArray
LengthNan
IndexOutOfBounds
ArgCountNotArrLen
InvalidFuncPtrLoop
InvalidArguments
FunctionNotFound
Eof
SystemError
NegativeRepeatCount
TransKeyNotFound
FunctionNotSupported
BracketMismatch
ContFlowArgMissing
InvalidAstNode
InvalidPtr
IncompatibleDataType
LangArraysCopy
LangVerError
InvalidConPart
InvalidFormat
InvalidAssignment
NoBinNum
NoOctNum
NoBaseNNum
InvalidNumberBase
InvalidRegexSyntax
InvalidTemplateSyntax
InvalidModule
ModuleLoadUnloadErr
MemberNotAccessible
DeprecatedFuncCall
NoTerminalWarning
LangVerWarning
InvalidExecFlagData
VarShadowingWarning
UndefEscapeSequence
InvalidDocComment
Implementations§
Source§impl InterpretingError
impl InterpretingError
pub fn name(&self) -> &'static str
pub fn error_code(&self) -> i32
pub fn error_text(&self) -> &'static str
pub fn get_error_from_error_code(error_code: i32) -> Self
Trait Implementations§
Source§impl Clone for InterpretingError
impl Clone for InterpretingError
Source§fn clone(&self) -> InterpretingError
fn clone(&self) -> InterpretingError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InterpretingError
impl Debug for InterpretingError
Source§impl Hash for InterpretingError
impl Hash for InterpretingError
Source§impl PartialEq for InterpretingError
impl PartialEq for InterpretingError
impl Copy for InterpretingError
impl Eq for InterpretingError
impl StructuralPartialEq for InterpretingError
Auto Trait Implementations§
impl Freeze for InterpretingError
impl RefUnwindSafe for InterpretingError
impl Send for InterpretingError
impl Sync for InterpretingError
impl Unpin for InterpretingError
impl UnwindSafe for InterpretingError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.