pub enum UnstablePublicApiErrorCode {
Show 18 variants
AuthenticationFailed,
AccessDenied,
InvalidRequest,
InvalidQuery,
InvalidBody,
InvalidFilterValue,
InvalidJsonPath,
InvalidVariableMapping,
MissingVariableMapping,
DuplicateVariableMapping,
ResourceNotFound,
NameConflict,
EvaluatorPreflightFailed,
Conflict,
UnprocessableContent,
RateLimited,
MethodNotAllowed,
InternalError,
}Expand description
UnstablePublicApiErrorCode : Machine-readable error code returned by the unstable evaluators API. SDKs, CLIs, and agents should branch on code rather than parsing the human-readable message. The HTTP status still indicates the broad error class, while code gives the specific failure reason.
Machine-readable error code returned by the unstable evaluators API. SDKs, CLIs, and agents should branch on code rather than parsing the human-readable message. The HTTP status still indicates the broad error class, while code gives the specific failure reason.
Variants§
AuthenticationFailed
AccessDenied
InvalidRequest
InvalidQuery
InvalidBody
InvalidFilterValue
InvalidJsonPath
InvalidVariableMapping
MissingVariableMapping
DuplicateVariableMapping
ResourceNotFound
NameConflict
EvaluatorPreflightFailed
Conflict
UnprocessableContent
RateLimited
MethodNotAllowed
InternalError
Trait Implementations§
Source§impl Clone for UnstablePublicApiErrorCode
impl Clone for UnstablePublicApiErrorCode
Source§fn clone(&self) -> UnstablePublicApiErrorCode
fn clone(&self) -> UnstablePublicApiErrorCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnstablePublicApiErrorCode
impl Debug for UnstablePublicApiErrorCode
Source§impl Default for UnstablePublicApiErrorCode
impl Default for UnstablePublicApiErrorCode
Source§fn default() -> UnstablePublicApiErrorCode
fn default() -> UnstablePublicApiErrorCode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UnstablePublicApiErrorCode
impl<'de> Deserialize<'de> for UnstablePublicApiErrorCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for UnstablePublicApiErrorCode
impl Display for UnstablePublicApiErrorCode
Source§impl Hash for UnstablePublicApiErrorCode
impl Hash for UnstablePublicApiErrorCode
Source§impl Ord for UnstablePublicApiErrorCode
impl Ord for UnstablePublicApiErrorCode
Source§fn cmp(&self, other: &UnstablePublicApiErrorCode) -> Ordering
fn cmp(&self, other: &UnstablePublicApiErrorCode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UnstablePublicApiErrorCode
impl PartialEq for UnstablePublicApiErrorCode
Source§fn eq(&self, other: &UnstablePublicApiErrorCode) -> bool
fn eq(&self, other: &UnstablePublicApiErrorCode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for UnstablePublicApiErrorCode
impl PartialOrd for UnstablePublicApiErrorCode
impl Copy for UnstablePublicApiErrorCode
impl Eq for UnstablePublicApiErrorCode
impl StructuralPartialEq for UnstablePublicApiErrorCode
Auto Trait Implementations§
impl Freeze for UnstablePublicApiErrorCode
impl RefUnwindSafe for UnstablePublicApiErrorCode
impl Send for UnstablePublicApiErrorCode
impl Sync for UnstablePublicApiErrorCode
impl Unpin for UnstablePublicApiErrorCode
impl UnsafeUnpin for UnstablePublicApiErrorCode
impl UnwindSafe for UnstablePublicApiErrorCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more