#[repr(u32)]pub enum GodotError {
Show 48 variants
Failed = 1,
Unavailable = 2,
Unconfigured = 3,
Unauthorized = 4,
ParameterRange = 5,
OutOfMemory = 6,
FileNotFound = 7,
FileBadDrive = 8,
FileBadPath = 9,
FileNoPermission = 10,
FileAlreadyInUse = 11,
FileCantOpen = 12,
FileCantWrite = 13,
FileCantRead = 14,
FileUnrecognized = 15,
FileCorrupt = 16,
FileMissingDependency = 17,
FileEof = 18,
CantOpen = 19,
CantCreate = 20,
QueryFailed = 21,
AlreadyInUse = 22,
Locked = 23,
TimeOut = 24,
CantConnect = 25,
CantResolve = 26,
ConnectionError = 27,
CantAcquireResource = 28,
CantFork = 29,
InvalidData = 30,
InvalidParameter = 31,
AlreadyExists = 32,
DoesNotExist = 33,
DatabaseCantRead = 34,
DatabaseCantWrite = 35,
CompilationFailed = 36,
MethodNotFound = 37,
LinkFailed = 38,
ScriptFailed = 39,
CyclicLink = 40,
InvalidDeclaration = 41,
DuplicateSymbol = 42,
ParseError = 43,
Busy = 44,
Skip = 45,
Help = 46,
Bug = 47,
PrinterOnFire = 48,
}Expand description
Error codes used in various Godot APIs.
Variants§
Failed = 1
Unconfigured = 3
ParameterRange = 5
OutOfMemory = 6
FileNotFound = 7
FileBadDrive = 8
FileBadPath = 9
FileNoPermission = 10
FileAlreadyInUse = 11
FileCantOpen = 12
FileCantWrite = 13
FileCantRead = 14
FileUnrecognized = 15
FileCorrupt = 16
FileMissingDependency = 17
FileEof = 18
CantOpen = 19
CantCreate = 20
QueryFailed = 21
AlreadyInUse = 22
Locked = 23
TimeOut = 24
CantConnect = 25
CantResolve = 26
ConnectionError = 27
CantAcquireResource = 28
CantFork = 29
InvalidData = 30
InvalidParameter = 31
AlreadyExists = 32
DoesNotExist = 33
DatabaseCantRead = 34
DatabaseCantWrite = 35
CompilationFailed = 36
MethodNotFound = 37
LinkFailed = 38
ScriptFailed = 39
CyclicLink = 40
InvalidDeclaration = 41
DuplicateSymbol = 42
ParseError = 43
Busy = 44
Skip = 45
Help = 46
Bug = 47
PrinterOnFire = 48
Trait Implementations§
Source§impl Clone for GodotError
impl Clone for GodotError
Source§fn clone(&self) -> GodotError
fn clone(&self) -> GodotError
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 GodotError
impl Debug for GodotError
Source§impl Display for GodotError
impl Display for GodotError
Source§impl Error for GodotError
impl Error for GodotError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for GodotError
impl PartialEq for GodotError
impl Copy for GodotError
impl Eq for GodotError
impl StructuralPartialEq for GodotError
Auto Trait Implementations§
impl Freeze for GodotError
impl RefUnwindSafe for GodotError
impl Send for GodotError
impl Sync for GodotError
impl Unpin for GodotError
impl UnwindSafe for GodotError
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.