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.
pub fn method_not_allowed<M: Display, S: Display, P: Display>(
method: M,
subject: S,
path: P
) -> Self
pub fn method_not_allowed<M: Display, S: Display, P: Display>(
method: M,
subject: S,
path: P
) -> Self
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
Auto Trait Implementations
impl RefUnwindSafe for TCError
impl UnwindSafe for TCError