#[non_exhaustive]pub enum LinearErrorType {
Show 15 variants
FeatureNotAccessible,
InvalidInput,
Ratelimited,
NetworkError,
AuthenticationError,
Forbidden,
BootstrapError,
Unknown,
InternalError,
Other,
UserError,
GraphqlError,
LockTimeout,
UsageLimitExceeded,
Unrecognized(String),
}Expand description
Typed classification of Linear API errors, mirroring @linear/sdk’s
LinearErrorType. Wire strings vary in casing and separators (e.g.
"authentication error"), so parsing is case-, space-, underscore-, and
hyphen-insensitive; unmatched values are preserved in
LinearErrorType::Unrecognized.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
FeatureNotAccessible
The requested feature is not accessible on this workspace/plan.
InvalidInput
Invalid mutation/query input.
Ratelimited
Request was rejected by the rate limiter.
NetworkError
Server-side network failure.
AuthenticationError
Missing or invalid credentials.
Forbidden
Authenticated but not permitted.
BootstrapError
Failure while bootstrapping workspace data.
Unknown
Unknown error (Linear’s own catch-all).
InternalError
Internal server error.
Other
Other, uncategorized error.
UserError
A user-facing validation error.
GraphqlError
GraphQL-level error (malformed document, unknown field, …).
LockTimeout
A lock could not be acquired in time.
UsageLimitExceeded
A usage limit was exceeded.
Unrecognized(String)
A wire value this crate does not recognize (kept verbatim).
Trait Implementations§
Source§impl Clone for LinearErrorType
impl Clone for LinearErrorType
Source§fn clone(&self) -> LinearErrorType
fn clone(&self) -> LinearErrorType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LinearErrorType
impl Debug for LinearErrorType
impl Eq for LinearErrorType
Source§impl PartialEq for LinearErrorType
impl PartialEq for LinearErrorType
Source§fn eq(&self, other: &LinearErrorType) -> bool
fn eq(&self, other: &LinearErrorType) -> bool
self and other values to be equal, and is used by ==.