UnexpectedError
@ts-rust/std / Result / UnexpectedError
Type Alias: UnexpectedError<E>
type UnexpectedError<E> = EitherError<E> & object;
Defined in: packages/std/src/result/interface.ts:66
Represents an unexpected error of type ResultError within a CheckedError.
Type declaration
Name | Type | Description | Defined in |
---|---|---|---|
|
| Always | |
| The unexpected error value of type ResultError. | ||
| () => | Retrieves the contained error value, either an expected error of type |
Type Parameters
Type Parameter |
---|
|