Enum gdnative_core::core_types::GodotError
source · [−]#[repr(u32)]
pub enum GodotError {
Show 48 variants
Failed,
Unavailable,
Unconfigured,
Unauthorized,
ParameterRange,
OutOfMemory,
FileNotFound,
FileBadDrive,
FileBadPath,
FileNoPermission,
FileAlreadyInUse,
FileCantOpen,
FileCantWrite,
FileCantRead,
FileUnrecognized,
FileCorrupt,
FileMissingDependency,
FileEof,
CantOpen,
CantCreate,
QueryFailed,
AlreadyInUse,
Locked,
TimeOut,
CantConnect,
CantResolve,
ConnectionError,
CantAcquireResource,
CantFork,
InvalidData,
InvalidParameter,
AlreadyExists,
DoesNotExist,
DatabaseCantRead,
DatabaseCantWrite,
CompilationFailed,
MethodNotFound,
LinkFailed,
ScriptFailed,
CyclicLink,
InvalidDeclaration,
DuplicateSymbol,
ParseError,
Busy,
Skip,
Help,
Bug,
PrinterOnFire,
}Expand description
Error codes used in various Godot APIs.
Variants
Failed
Unavailable
Unconfigured
Unauthorized
ParameterRange
OutOfMemory
FileNotFound
FileBadDrive
FileBadPath
FileNoPermission
FileAlreadyInUse
FileCantOpen
FileCantWrite
FileCantRead
FileUnrecognized
FileCorrupt
FileMissingDependency
FileEof
CantOpen
CantCreate
QueryFailed
AlreadyInUse
Locked
TimeOut
CantConnect
CantResolve
ConnectionError
CantAcquireResource
CantFork
InvalidData
InvalidParameter
AlreadyExists
DoesNotExist
DatabaseCantRead
DatabaseCantWrite
CompilationFailed
MethodNotFound
LinkFailed
ScriptFailed
CyclicLink
InvalidDeclaration
DuplicateSymbol
ParseError
Busy
Skip
Help
Bug
PrinterOnFire
Trait Implementations
sourceimpl Clone for GodotError
impl Clone for GodotError
sourcefn clone(&self) -> GodotError
fn clone(&self) -> GodotError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for GodotError
impl Debug for GodotError
sourceimpl Display for GodotError
impl Display for GodotError
sourceimpl Error for GodotError
impl Error for GodotError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl PartialEq<GodotError> for GodotError
impl PartialEq<GodotError> for GodotError
sourcefn eq(&self, other: &GodotError) -> bool
fn eq(&self, other: &GodotError) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl Copy for GodotError
impl Eq for GodotError
impl StructuralEq for GodotError
impl StructuralPartialEq for GodotError
Auto Trait Implementations
impl RefUnwindSafe for GodotError
impl Send for GodotError
impl Sync for GodotError
impl Unpin for GodotError
impl UnwindSafe for GodotError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.