An Err instance is the failure variant instance of the Result type, representing a failure outcome from an operation which may fail. For a full discussion, see the module docs.
Err
Result
The type which would be wrapped in an Ok variant of Result.
Ok
The type wrapped in this Err variant of Result.
The wrapped error value.
Is the Result an Err?
Is the Result an Ok?
Readonly
Err is always Variant.Err.
Variant.Err
Method variant for and
and
Method variant for andThen
andThen
Method variant for ap
ap
Method variant for equals
equals
Method variant for map
map
Method variant for mapErr
mapErr
Method variant for mapOr
mapOr
Method variant for mapOrElse
mapOrElse
Method variant for match
match
Method variant for or
or
Method variant for orElse
orElse
Method variant for toJSON
toJSON
Method variant for toString
toString
Method variant for unwrapOr
unwrapOr
Method variant for unwrapOrElse
unwrapOrElse
An
Err
instance is the failure variant instance of theResult
type, representing a failure outcome from an operation which may fail. For a full discussion, see the module docs.