Err
@ts-rust/std / Result / Err
Type Alias: Err<T, E>
type Err<T, E> = Resultant<T, E> & object;
Defined in: packages/std/src/result/interface.ts:21
Represents a failed outcome of a Result, holding a CheckedError
of type E
.
This type ensures errors are checked, distinguishing between expected errors
of type E
and unexpected runtime failures wrapped in ResultError.
Type declaration
Name | Type | Defined in |
---|---|---|
|
|
Type Parameters
Type Parameter |
---|
|
|