[−][src]Enum sm_ext::SPError
Error codes for SourcePawn routines.
Variants
No error occurred
File format unrecognized
A decompressor was not found
Not enough space left on the heap
Invalid parameter or parameter type
A memory address was not valid
The object in question was not found
Invalid index parameter
Not enough space left on the stack
Debug mode was not on or debug section not found
Invalid instruction was encountered
Invalid memory access
Stack went beyond its minimum value
Heap went beyond its minimum value
Division by zero
Array index is out of bounds
Instruction had an invalid parameter
A native leaked an item on the stack
A native leaked an item on the heap
A dynamic array is too big
Tracker stack is out of bounds
Native was pending or invalid
Maximum number of parameters reached
Error originates from a native
Function or plugin is not runnable
Function call was aborted
Code is too old for this VM
Code is too new for this VM
Out of memory
Integer overflow (-INT_MIN / -1)
Timeout
Custom message
Custom fatal message
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SPError
impl Send for SPError
impl Sync for SPError
impl Unpin for SPError
impl UnwindSafe for SPError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<'_, T, U> TryFromPlugin<'_, T> for U where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
fn try_from_plugin(
&IPluginContext,
T
) -> Result<U, <U as TryFromPlugin<'_, T>>::Error>
[src]
&IPluginContext,
T
) -> Result<U, <U as TryFromPlugin<'_, T>>::Error>
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<'ctx, T, U> TryIntoPlugin<'ctx, U> for T where
U: TryFromPlugin<'ctx, T>,
[src]
U: TryFromPlugin<'ctx, T>,
type Error = <U as TryFromPlugin<'ctx, T>>::Error
fn try_into_plugin(
Self,
&'ctx IPluginContext
) -> Result<U, <U as TryFromPlugin<'ctx, T>>::Error>
[src]
Self,
&'ctx IPluginContext
) -> Result<U, <U as TryFromPlugin<'ctx, T>>::Error>