Skip to main content

EdbError

Enum EdbError 

Source
#[repr(u32)]
pub enum EdbError {
Show 100 variants InternalServerError = 16_777_216, UnsupportedFeatureError = 33_554_432, ProtocolError = 50_331_648, BinaryProtocolError = 50_397_184, UnsupportedProtocolVersionError = 50_397_185, TypeSpecNotFoundError = 50_397_186, UnexpectedMessageError = 50_397_187, InputDataError = 50_462_720, ParameterTypeMismatchError = 50_462_976, StateMismatchError = 50_463_232, ResultCardinalityMismatchError = 50_528_256, CapabilityError = 50_593_792, UnsupportedCapabilityError = 50_594_048, DisabledCapabilityError = 50_594_304, QueryError = 67_108_864, InvalidSyntaxError = 67_174_400, EdgeQLSyntaxError = 67_174_656, SchemaSyntaxError = 67_174_912, GraphQLSyntaxError = 67_175_168, InvalidTypeError = 67_239_936, InvalidTargetError = 67_240_192, InvalidLinkTargetError = 67_240_193, InvalidPropertyTargetError = 67_240_194, InvalidReferenceError = 67_305_472, UnknownModuleError = 67_305_473, UnknownLinkError = 67_305_474, UnknownPropertyError = 67_305_475, UnknownUserError = 67_305_476, UnknownDatabaseError = 67_305_477, UnknownParameterError = 67_305_478, SchemaError = 67_371_008, SchemaDefinitionError = 67_436_544, InvalidDefinitionError = 67_436_800, InvalidModuleDefinitionError = 67_436_801, InvalidLinkDefinitionError = 67_436_802, InvalidPropertyDefinitionError = 67_436_803, InvalidUserDefinitionError = 67_436_804, InvalidDatabaseDefinitionError = 67_436_805, InvalidOperatorDefinitionError = 67_436_806, InvalidAliasDefinitionError = 67_436_807, InvalidFunctionDefinitionError = 67_436_808, InvalidConstraintDefinitionError = 67_436_809, InvalidCastDefinitionError = 67_436_810, DuplicateDefinitionError = 67_437_056, DuplicateModuleDefinitionError = 67_437_057, DuplicateLinkDefinitionError = 67_437_058, DuplicatePropertyDefinitionError = 67_437_059, DuplicateUserDefinitionError = 67_437_060, DuplicateDatabaseDefinitionError = 67_437_061, DuplicateOperatorDefinitionError = 67_437_062, DuplicateViewDefinitionError = 67_437_063, DuplicateFunctionDefinitionError = 67_437_064, DuplicateConstraintDefinitionError = 67_437_065, DuplicateCastDefinitionError = 67_437_066, DuplicateMigrationError = 67_437_067, SessionTimeoutError = 67_502_080, IdleSessionTimeoutError = 67_502_336, QueryTimeoutError = 67_502_592, TransactionTimeoutError = 67_504_640, IdleTransactionTimeoutError = 67_504_641, ExecutionError = 83_886_080, InvalidValueError = 83_951_616, DivisionByZeroError = 83_951_617, NumericOutOfRangeError = 83_951_618, AccessPolicyError = 83_951_619, QueryAssertionError = 83_951_620, IntegrityError = 84_017_152, ConstraintViolationError = 84_017_153, CardinalityViolationError = 84_017_154, MissingRequiredError = 84_017_155, TransactionError = 84_082_688, TransactionConflictError = 84_082_944, TransactionSerializationError = 84_082_945, TransactionDeadlockError = 84_082_946, WatchError = 84_148_224, ConfigurationError = 100_663_296, AccessError = 117_440_512, AuthenticationError = 117_506_048, AvailabilityError = 134_217_728, BackendUnavailableError = 134_217_729, ServerOfflineError = 134_217_730, UnknownTenantError = 134_217_731, ServerBlockedError = 134_217_732, BackendError = 150_994_944, UnsupportedBackendFeatureError = 150_995_200, LogMessage = 4_026_531_840, WarningMessage = 4_026_597_376, ClientError = 4_278_190_080, ClientConnectionError = 4_278_255_616, ClientConnectionFailedError = 4_278_255_872, ClientConnectionFailedTemporarilyError = 4_278_255_873, ClientConnectionTimeoutError = 4_278_256_128, ClientConnectionClosedError = 4_278_256_384, InterfaceError = 4_278_321_152, QueryArgumentError = 4_278_321_408, MissingArgumentError = 4_278_321_409, UnknownArgumentError = 4_278_321_410, InvalidArgumentError = 4_278_321_411, NoDataError = 4_278_386_688, InternalClientError = 4_278_452_224,
}

Variants§

§

InternalServerError = 16_777_216

§

UnsupportedFeatureError = 33_554_432

§

ProtocolError = 50_331_648

§

BinaryProtocolError = 50_397_184

§

UnsupportedProtocolVersionError = 50_397_185

§

TypeSpecNotFoundError = 50_397_186

§

UnexpectedMessageError = 50_397_187

§

InputDataError = 50_462_720

§

ParameterTypeMismatchError = 50_462_976

§

StateMismatchError = 50_463_232

§

ResultCardinalityMismatchError = 50_528_256

§

CapabilityError = 50_593_792

§

UnsupportedCapabilityError = 50_594_048

§

DisabledCapabilityError = 50_594_304

§

QueryError = 67_108_864

§

InvalidSyntaxError = 67_174_400

§

EdgeQLSyntaxError = 67_174_656

§

SchemaSyntaxError = 67_174_912

§

GraphQLSyntaxError = 67_175_168

§

InvalidTypeError = 67_239_936

§

InvalidTargetError = 67_240_192

§

InvalidLinkTargetError = 67_240_193

§

InvalidPropertyTargetError = 67_240_194

§

InvalidReferenceError = 67_305_472

§

UnknownModuleError = 67_305_473

§

UnknownLinkError = 67_305_474

§

UnknownPropertyError = 67_305_475

§

UnknownUserError = 67_305_476

§

UnknownDatabaseError = 67_305_477

§

UnknownParameterError = 67_305_478

§

SchemaError = 67_371_008

§

SchemaDefinitionError = 67_436_544

§

InvalidDefinitionError = 67_436_800

§

InvalidModuleDefinitionError = 67_436_801

§

InvalidLinkDefinitionError = 67_436_802

§

InvalidPropertyDefinitionError = 67_436_803

§

InvalidUserDefinitionError = 67_436_804

§

InvalidDatabaseDefinitionError = 67_436_805

§

InvalidOperatorDefinitionError = 67_436_806

§

InvalidAliasDefinitionError = 67_436_807

§

InvalidFunctionDefinitionError = 67_436_808

§

InvalidConstraintDefinitionError = 67_436_809

§

InvalidCastDefinitionError = 67_436_810

§

DuplicateDefinitionError = 67_437_056

§

DuplicateModuleDefinitionError = 67_437_057

§

DuplicateLinkDefinitionError = 67_437_058

§

DuplicatePropertyDefinitionError = 67_437_059

§

DuplicateUserDefinitionError = 67_437_060

§

DuplicateDatabaseDefinitionError = 67_437_061

§

DuplicateOperatorDefinitionError = 67_437_062

§

DuplicateViewDefinitionError = 67_437_063

§

DuplicateFunctionDefinitionError = 67_437_064

§

DuplicateConstraintDefinitionError = 67_437_065

§

DuplicateCastDefinitionError = 67_437_066

§

DuplicateMigrationError = 67_437_067

§

SessionTimeoutError = 67_502_080

§

IdleSessionTimeoutError = 67_502_336

§

QueryTimeoutError = 67_502_592

§

TransactionTimeoutError = 67_504_640

§

IdleTransactionTimeoutError = 67_504_641

§

ExecutionError = 83_886_080

§

InvalidValueError = 83_951_616

§

DivisionByZeroError = 83_951_617

§

NumericOutOfRangeError = 83_951_618

§

AccessPolicyError = 83_951_619

§

QueryAssertionError = 83_951_620

§

IntegrityError = 84_017_152

§

ConstraintViolationError = 84_017_153

§

CardinalityViolationError = 84_017_154

§

MissingRequiredError = 84_017_155

§

TransactionError = 84_082_688

§

TransactionConflictError = 84_082_944

§

TransactionSerializationError = 84_082_945

§

TransactionDeadlockError = 84_082_946

§

WatchError = 84_148_224

§

ConfigurationError = 100_663_296

§

AccessError = 117_440_512

§

AuthenticationError = 117_506_048

§

AvailabilityError = 134_217_728

§

BackendUnavailableError = 134_217_729

§

ServerOfflineError = 134_217_730

§

UnknownTenantError = 134_217_731

§

ServerBlockedError = 134_217_732

§

BackendError = 150_994_944

§

UnsupportedBackendFeatureError = 150_995_200

§

LogMessage = 4_026_531_840

§

WarningMessage = 4_026_597_376

§

ClientError = 4_278_190_080

§

ClientConnectionError = 4_278_255_616

§

ClientConnectionFailedError = 4_278_255_872

§

ClientConnectionFailedTemporarilyError = 4_278_255_873

§

ClientConnectionTimeoutError = 4_278_256_128

§

ClientConnectionClosedError = 4_278_256_384

§

InterfaceError = 4_278_321_152

§

QueryArgumentError = 4_278_321_408

§

MissingArgumentError = 4_278_321_409

§

UnknownArgumentError = 4_278_321_410

§

InvalidArgumentError = 4_278_321_411

§

NoDataError = 4_278_386_688

§

InternalClientError = 4_278_452_224

Trait Implementations§

Source§

impl Clone for EdbError

Source§

fn clone(&self) -> EdbError

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for EdbError

Source§

impl Debug for EdbError

Source§

fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for EdbError

Source§

fn fmt(&self, __derive_more_f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for EdbError

Source§

impl Error for EdbError

1.30.0 · Source§

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

👎Deprecated since 1.42.0:

use the Display impl or to_string()

1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl PartialEq for EdbError

Source§

fn eq(&self, other: &EdbError) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for EdbError

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> EncoderForExt for T
where T: ?Sized,

Source§

fn to_vec<F>(&self) -> Vec<u8>
where F: 'static, Self: EncoderFor<F>,

Convert this builder into a vector of bytes. This is generally not the most efficient way to perform serialization.
Source§

fn encode_buffer<F>(&self, buf: &mut [u8]) -> Result<usize, usize>
where F: 'static, Self: EncoderFor<F>,

Encode this builder into a given buffer. If the buffer is too small, the function will return the number of bytes required to encode the builder.
Source§

fn encode_buffer_uninit<'a, F>( &self, buf: &'a mut [MaybeUninit<u8>], ) -> Result<&'a mut [u8], usize>
where F: 'static, Self: EncoderFor<F>,

Encode this builder into a given buffer. If the buffer is too small, the function will return the number of bytes required to encode the builder.
Source§

fn measure<F>(&self) -> usize
where F: 'static, Self: EncoderFor<F>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.