Struct tc_error::TCError[][src]

pub struct TCError { /* fields omitted */ }
Expand description

A general error description.

Implementations

Returns a new error with the given code and message.

Error indicating that the an upstream server send an invalid response.

Error indicating that the request is badly-constructed or nonsensical.

Error indicating that the request depends on a resource which is exclusively locked by another request.

Error indicating that the request actor’s credentials do not authorize access to some request dependencies.

A truly unexpected error, for which the calling application cannot define any specific handling behavior.

Error indicating that the requested resource exists but does not support the request method.

Error indicating that the requested resource does not exist at the specified location.

Error indicating that a required feature is not yet implemented.

Error indicating that the request failed to complete in the allotted time.

Error indicating that the user’s credentials are missing or nonsensical.

Error indicating that the request is badly-constructed or nonsensical.

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Take ownership of this value and serialize it into the given encoder.

Serialize this value into the given encoder.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.