#[repr(u32)]pub enum ErrorCode {
ParseError = 1,
NetworkError = 2,
AuthError = 3,
NotFound = 4,
ServerError = 5,
Timeout = 6,
InvalidInput = 7,
Unsupported = 8,
}Expand description
Numeric error classification for WASM clients.
Variants§
ParseError = 1
Malformed input (e.g. bad Turtle syntax).
NetworkError = 2
Network / HTTP failure.
AuthError = 3
Authentication or authorisation failure.
NotFound = 4
Requested resource was not found.
ServerError = 5
Internal server / engine error.
Timeout = 6
Operation timed out.
InvalidInput = 7
Caller supplied an invalid argument.
Unsupported = 8
Feature / operation not supported.
Implementations§
Trait Implementations§
impl Copy for ErrorCode
impl Eq for ErrorCode
impl StructuralPartialEq for ErrorCode
Auto Trait Implementations§
impl Freeze for ErrorCode
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnsafeUnpin for ErrorCode
impl UnwindSafe for ErrorCode
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