Skip to main content

Interface: Err<E>

license MIT

copyright 2020 1Computer

The computation failed.

Type parameters

NameDescription
EType of errors.

Properties

error

Readonly error: E

The resulting error, which only exists on an Err.

Defined in

node_modules/@sapphire/result/dist/lib/Lexure.d.ts:35


success

Readonly success: false

If this an Err, this is false.

Defined in

node_modules/@sapphire/result/dist/lib/Lexure.d.ts:30


value

Optional Readonly value: undefined

Defined in

node_modules/@sapphire/result/dist/lib/Lexure.d.ts:31