Enum samp_sdk::amx::AmxError  
                   
                       [−]
                   
               [src]
pub enum AmxError {
    Exit,
    Assert,
    StackError,
    Bounds,
    MemoryAccess,
    InvalidInstruction,
    StackLow,
    HeapLow,
    Callback,
    Native,
    Divide,
    Sleep,
    InvalidState,
    Memory,
    Format,
    Version,
    NotFound,
    Index,
    Debug,
    Init,
    UserData,
    InitJit,
    Params,
    Domain,
    General,
    Unknown,
}Custom error type for AMX errors. Can be casted from i32
Examples
let find_public: samp_sdk::types::FindPublic_t = ...; let result = find_public(...); return AmxError::from(result);
Variants
ExitAssertStackErrorBoundsMemoryAccessInvalidInstructionStackLowHeapLowCallbackNativeDivideSleepInvalidStateMemoryFormatVersionNotFoundIndexDebugInitUserDataInitJitParamsDomainGeneralUnknown
            Trait Implementations
impl Debug for AmxError[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more