Result.prototype.error(): E
Gets the error from an Err Result.
Only call this after checking isErr(). If called on Ok, throws an error.
The error value
Result.prototype.error(): E
Gets the error from an Err Result.
Only call this after checking isErr(). If called on Ok, throws an error.
The error value
import { Result } from "result/mod.ts";