Represents an unexpected error. Use this for wrapping unknown errors or for truly unexpected conditions.
UnexpectedError(options?: BaseErrorOptions)
readonly
name: "UnexpectedError"
Serializes error to a plain object.
Represents an unexpected error. Use this for wrapping unknown errors or for truly unexpected conditions.
UnexpectedError(options?: BaseErrorOptions)
name: "UnexpectedError"
Serializes error to a plain object.
import { UnexpectedError } from "result/mod.ts";