pub enum AppErrorKind {
Unauthorized,
BadRequest,
NotFound,
Conflict,
Internal,
FormationCycle,
FormationMultipleCoordinators,
FormationNoCoordinator,
FormationAuthorityNotNarrowing,
}Expand description
Stable error identifier. Adding a variant is a non-breaking change;
renaming one IS breaking (clients pin on type).
Variants§
BadRequest
NotFound
Conflict
Internal
FormationCycle
Discriminants from ADR-0010 §Enforcement: cellos-server admission
gate rejection reasons. Surfaced via application/problem+json
so cellctl can switch on type without parsing detail.
FormationMultipleCoordinators
FormationNoCoordinator
FormationAuthorityNotNarrowing
Implementations§
Source§impl AppErrorKind
impl AppErrorKind
Trait Implementations§
Source§impl Clone for AppErrorKind
impl Clone for AppErrorKind
Source§fn clone(&self) -> AppErrorKind
fn clone(&self) -> AppErrorKind
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 AppErrorKind
impl Debug for AppErrorKind
impl Copy for AppErrorKind
Auto Trait Implementations§
impl Freeze for AppErrorKind
impl RefUnwindSafe for AppErrorKind
impl Send for AppErrorKind
impl Sync for AppErrorKind
impl Unpin for AppErrorKind
impl UnsafeUnpin for AppErrorKind
impl UnwindSafe for AppErrorKind
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