CHAN.RUN

ensure

EnsureError

Built-in error for string-form ensure calls. Match on "EnsureError" to remap to a concrete typed error.

EnsureError

ts
const EnsureError: NamedFaultErrorClass<"EnsureError">;

Built-in error for string-form ensure calls. Match on "EnsureError" to remap to a concrete typed error.