Enum erg_common::error::ErrorKind
source · [−]#[repr(u8)]
pub enum ErrorKind {
Show 86 variants
AssignError,
AttributeError,
BytecodeError,
CompilerSystemError,
EnvironmentError,
FeatureError,
ImportError,
IndentationError,
NameError,
NotImplementedError,
PatternError,
SyntaxError,
TabError,
TypeError,
UnboundLocalError,
PurityError,
HasEffect,
MoveError,
NotConstExpr,
InheritanceError,
VisibilityError,
MethodError,
DummyError,
AttributeWarning,
CastWarning,
DeprecationWarning,
FutureWarning,
ImportWarning,
PendingDeprecationWarning,
SyntaxWarning,
TypeWarning,
NameWarning,
UnusedWarning,
Warning,
ArithmeticError,
AssertionError,
BlockingIOError,
BrokenPipeError,
BufferError,
ChildProcessError,
ConnectionAbortedError,
ConnectionError,
ConnectionRefusedError,
ConnectionResetError,
EOFError,
FileExistsError,
FileNotFoundError,
IndexError,
InterruptedError,
IoError,
IsADirectoryError,
KeyError,
LookupError,
MemoryError,
ModuleNotFoundError,
NotADirectoryError,
OSError,
OverflowError,
PermissionError,
ProcessLookupError,
RecursionError,
ReferenceError,
RuntimeAttributeError,
RuntimeError,
RuntimeTypeError,
RuntimeUnicodeError,
TimeoutError,
UnicodeError,
UserError,
ValueError,
VMSystemError,
WindowsError,
ZeroDivisionError,
BytesWarning,
ResourceWarning,
RuntimeWarning,
UnicodeWarning,
UserWarning,
BaseException,
Exception,
GeneratorExit,
KeyboardInterrupt,
StopAsyncIteration,
StopIteration,
SystemExit,
UserException,
}
Expand description
ErrorKindと言っているが、ErrorだけでなくWarning, Exceptionも含まれる Numbering of this is not specifically related to ErrFmt.errno().
Variants
AssignError
AttributeError
BytecodeError
CompilerSystemError
EnvironmentError
FeatureError
ImportError
IndentationError
NameError
NotImplementedError
PatternError
SyntaxError
TabError
TypeError
UnboundLocalError
PurityError
HasEffect
MoveError
NotConstExpr
InheritanceError
VisibilityError
MethodError
DummyError
AttributeWarning
CastWarning
DeprecationWarning
FutureWarning
ImportWarning
PendingDeprecationWarning
SyntaxWarning
TypeWarning
NameWarning
UnusedWarning
Warning
ArithmeticError
AssertionError
BlockingIOError
BrokenPipeError
BufferError
ChildProcessError
ConnectionAbortedError
ConnectionError
ConnectionRefusedError
ConnectionResetError
EOFError
FileExistsError
FileNotFoundError
IndexError
InterruptedError
IoError
IsADirectoryError
KeyError
LookupError
MemoryError
ModuleNotFoundError
NotADirectoryError
OSError
OverflowError
PermissionError
ProcessLookupError
RecursionError
ReferenceError
RuntimeAttributeError
RuntimeError
RuntimeTypeError
RuntimeUnicodeError
TimeoutError
UnicodeError
UserError
ValueError
VMSystemError
WindowsError
ZeroDivisionError
BytesWarning
ResourceWarning
RuntimeWarning
UnicodeWarning
UserWarning
BaseException
Exception
GeneratorExit
KeyboardInterrupt
StopAsyncIteration
StopIteration
SystemExit
UserException
Trait Implementations
impl Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralEq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
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