Type Alias tea_sdk::vmh::error::Error

pub type Error = Global;

Aliased Type§

enum Error {
Show 45 variants Unnamed(String), DbNotFound(String), WasmWorkerError(String), CannotBeNone(CannotBeNone), BadBinaryFormat(BadBinaryFormat), RoutineTimeout(RoutineTimeout), TypeIdMismatch(TypeIdMismatch), UnexpectedType(UnexpectedType), InvalidFormat(InvalidFormat), GasFeeExhausted(GasFeeExhausted), WorkerCrashed(WorkerCrashed), AccessNotPermitted(AccessNotPermitted), ActorNotExist(ActorNotExist), NotSupported(NotSupported), ActorHostDropped(ActorHostDropped), ActorDeactivating(ActorDeactivating), InvocationTimeout(InvocationTimeout), ChannelReceivingTimeout(ChannelReceivingTimeout), BadWorkerOutput(BadWorkerOutput), MissingCallingStack(MissingCallingStack), InvokeDeserializeError(InvokeDeserializeError), JsonSerde(String), BincodeSerde(String), FromUtf8(String), StdIo(String), ProstDecode(String), ProstEncode(String), TryFromIntError(String), TryFromCharError(String), TryFromSliceError(String), ParseBool(String), ParseInt(String), ParseChar(String), ParseFloat(String), ParseAddr(String), SystemTime(String), ParseLevel(String), SetLog(String), Base64Decode(String), HexDecode(String), MpscRecv(String), CrossbeamReceive(String), ChannelReceive(String), ChannelCanceled(String), ChannelSend(String),
}

Variants§

§

Unnamed(String)

§

DbNotFound(String)

§

WasmWorkerError(String)

§

CannotBeNone(CannotBeNone)

§

BadBinaryFormat(BadBinaryFormat)

§

RoutineTimeout(RoutineTimeout)

§

TypeIdMismatch(TypeIdMismatch)

§

UnexpectedType(UnexpectedType)

§

InvalidFormat(InvalidFormat)

§

GasFeeExhausted(GasFeeExhausted)

§

WorkerCrashed(WorkerCrashed)

§

AccessNotPermitted(AccessNotPermitted)

§

ActorNotExist(ActorNotExist)

§

NotSupported(NotSupported)

§

ActorHostDropped(ActorHostDropped)

§

ActorDeactivating(ActorDeactivating)

§

InvocationTimeout(InvocationTimeout)

§

ChannelReceivingTimeout(ChannelReceivingTimeout)

§

BadWorkerOutput(BadWorkerOutput)

§

MissingCallingStack(MissingCallingStack)

§

InvokeDeserializeError(InvokeDeserializeError)

§

JsonSerde(String)

§

BincodeSerde(String)

§

FromUtf8(String)

§

StdIo(String)

§

ProstDecode(String)

§

ProstEncode(String)

§

TryFromIntError(String)

§

TryFromCharError(String)

§

TryFromSliceError(String)

§

ParseBool(String)

§

ParseInt(String)

§

ParseChar(String)

§

ParseFloat(String)

§

ParseAddr(String)

§

SystemTime(String)

§

ParseLevel(String)

§

SetLog(String)

§

Base64Decode(String)

§

HexDecode(String)

§

MpscRecv(String)

§

CrossbeamReceive(String)

§

ChannelReceive(String)

§

ChannelCanceled(String)

§

ChannelSend(String)

Trait Implementations

§

impl Serialize for Global

§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl Clone for Global

§

fn clone(&self) -> Global

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl StructuralPartialEq for Global

§

impl<'de> Deserialize<'de> for Global

§

fn deserialize<__D>( __deserializer: __D ) -> Result<Global, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Debug for Global

§

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

Formats the value using the given formatter. Read more
§

impl PartialEq for Global

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl StructuralEq for Global

§

impl Eq for Global

§

impl From<AddrParseError> for Global

§

fn from(e: AddrParseError) -> Global

Converts to this type from the input type.
§

impl From<TryFromIntError> for Global

§

fn from(e: TryFromIntError) -> Global

Converts to this type from the input type.
§

impl From<WorkerCrashed> for Global

§

fn from(source: WorkerCrashed) -> Global

Converts to this type from the input type.
§

impl From<InvalidFormat> for Global

§

fn from(source: InvalidFormat) -> Global

Converts to this type from the input type.
§

impl From<DecodeError> for Global

§

fn from(e: DecodeError) -> Global

Converts to this type from the input type.
§

impl From<Error> for Global

§

fn from(e: Error) -> Global

Converts to this type from the input type.
§

impl From<SetLoggerError> for Global

§

fn from(e: SetLoggerError) -> Global

Converts to this type from the input type.
§

impl From<Box<ErrorKind>> for Global

§

fn from(e: Box<ErrorKind>) -> Global

Converts to this type from the input type.
§

impl From<ParseCharError> for Global

§

fn from(e: ParseCharError) -> Global

Converts to this type from the input type.
§

impl From<ActorNotExist> for Global

§

fn from(source: ActorNotExist) -> Global

Converts to this type from the input type.
§

impl From<RecvError> for Global

§

fn from(e: RecvError) -> Global

Converts to this type from the input type.
§

impl From<ActorHostDropped> for Global

§

fn from(source: ActorHostDropped) -> Global

Converts to this type from the input type.
§

impl From<EncodeError> for Global

§

fn from(e: EncodeError) -> Global

Converts to this type from the input type.
§

impl From<TryFromCharError> for Global

§

fn from(e: TryFromCharError) -> Global

Converts to this type from the input type.
§

impl From<CannotBeNone> for Global

§

fn from(source: CannotBeNone) -> Global

Converts to this type from the input type.
§

impl From<DecodeError> for Global

§

fn from(e: DecodeError) -> Global

Converts to this type from the input type.
§

impl From<BadBinaryFormat> for Global

§

fn from(source: BadBinaryFormat) -> Global

Converts to this type from the input type.
§

impl From<RecvError> for Global

§

fn from(e: RecvError) -> Global

Converts to this type from the input type.
§

impl From<InvokeDeserializeError> for Global

§

fn from(source: InvokeDeserializeError) -> Global

Converts to this type from the input type.
§

impl From<ActorDeactivating> for Global

§

fn from(source: ActorDeactivating) -> Global

Converts to this type from the input type.
§

impl From<AccessNotPermitted> for Global

§

fn from(source: AccessNotPermitted) -> Global

Converts to this type from the input type.
§

impl From<ParseLevelError> for Global

§

fn from(e: ParseLevelError) -> Global

Converts to this type from the input type.
§

impl From<Canceled> for Global

§

fn from(e: Canceled) -> Global

Converts to this type from the input type.
§

impl From<TryRecvError> for Global

§

fn from(value: TryRecvError) -> Global

Converts to this type from the input type.
§

impl From<ParseBoolError> for Global

§

fn from(e: ParseBoolError) -> Global

Converts to this type from the input type.
§

impl From<SendError> for Global

§

fn from(e: SendError) -> Global

Converts to this type from the input type.
§

impl From<ParseFloatError> for Global

§

fn from(e: ParseFloatError) -> Global

Converts to this type from the input type.
§

impl From<RoutineTimeout> for Global

§

fn from(source: RoutineTimeout) -> Global

Converts to this type from the input type.
§

impl From<Error> for Global

§

fn from(e: Error) -> Global

Converts to this type from the input type.
§

impl From<Utf8Error> for Global

§

fn from(e: Utf8Error) -> Global

Converts to this type from the input type.
§

impl From<ParseIntError> for Global

§

fn from(e: ParseIntError) -> Global

Converts to this type from the input type.
§

impl From<UnexpectedType> for Global

§

fn from(source: UnexpectedType) -> Global

Converts to this type from the input type.
§

impl From<FromHexError> for Global

§

fn from(e: FromHexError) -> Global

Converts to this type from the input type.
§

impl From<NotSupported> for Global

§

fn from(source: NotSupported) -> Global

Converts to this type from the input type.
§

impl From<GasFeeExhausted> for Global

§

fn from(source: GasFeeExhausted) -> Global

Converts to this type from the input type.
§

impl From<MissingCallingStack> for Global

§

fn from(source: MissingCallingStack) -> Global

Converts to this type from the input type.
§

impl From<TryFromSliceError> for Global

§

fn from(e: TryFromSliceError) -> Global

Converts to this type from the input type.
§

impl From<SystemTimeError> for Global

§

fn from(e: SystemTimeError) -> Global

Converts to this type from the input type.
§

impl From<BadWorkerOutput> for Global

§

fn from(source: BadWorkerOutput) -> Global

Converts to this type from the input type.
§

impl From<ChannelReceivingTimeout> for Global

§

fn from(source: ChannelReceivingTimeout) -> Global

Converts to this type from the input type.
§

impl From<FromUtf8Error> for Global

§

fn from(e: FromUtf8Error) -> Global

Converts to this type from the input type.
§

impl From<TypeIdMismatch> for Global

§

fn from(source: TypeIdMismatch) -> Global

Converts to this type from the input type.
§

impl From<InvocationTimeout> for Global

§

fn from(source: InvocationTimeout) -> Global

Converts to this type from the input type.
§

impl Error for Global

§

fn source(&self) -> Option<&(dyn Error + 'static)>

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
§

impl Display for Global

§

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

Formats the value using the given formatter. Read more
§

impl From<InvalidBSystemInvocation> for Global

§

fn from(e: InvalidBSystemInvocation) -> Global

Converts to this type from the input type.
§

impl From<VmhGeneralErrors> for Global

§

fn from(e: VmhGeneralErrors) -> Global

Converts to this type from the input type.
§

impl From<TableAccess> for Global

§

fn from(e: TableAccess) -> Global

Converts to this type from the input type.
§

impl From<PersistCheck> for Global

§

fn from(e: PersistCheck) -> Global

Converts to this type from the input type.
§

impl From<ActorTxnsError> for Global

§

fn from(e: ActorTxnsError) -> Global

Converts to this type from the input type.
§

impl From<InvalidASystemInvocation> for Global

§

fn from(e: InvalidASystemInvocation) -> Global

Converts to this type from the input type.