pub enum SessionErrorKind {
Other,
Unsolvable,
Transport,
Printed(i32),
}Expand description
What Composer does with the error: an unsolvable set
(SolverProblemsException) means exit code 2 from Installer::run,
everything else is an exception that propagates.
Variants§
Other
Unsolvable
Transport
Composer would carry this as a TransportException, whose code it
rewrites to 100 (Application.php:502-506, Installer.php:92).
Printed(i32)
The command prints the message itself and returns a code, with no
Error: prefix and nothing written: UpdateCommand’s temporary
constraint refusal (1), Installer::run’s partial update without a
lock (3).
Trait Implementations§
Source§impl Clone for SessionErrorKind
impl Clone for SessionErrorKind
impl Copy for SessionErrorKind
Source§impl Debug for SessionErrorKind
impl Debug for SessionErrorKind
impl Eq for SessionErrorKind
Source§impl PartialEq for SessionErrorKind
impl PartialEq for SessionErrorKind
impl StructuralPartialEq for SessionErrorKind
Auto Trait Implementations§
impl Freeze for SessionErrorKind
impl RefUnwindSafe for SessionErrorKind
impl Send for SessionErrorKind
impl Sync for SessionErrorKind
impl Unpin for SessionErrorKind
impl UnsafeUnpin for SessionErrorKind
impl UnwindSafe for SessionErrorKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more