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