Type alias UnhandledError

UnhandledError: {
    err: any;
    op: "throw";
    val: undefined;
}

An ErrorResult that hasn't yet been "handled" (by being passed to an error-specific handler, converted to a promise, given to markHandled, etc.)

Type declaration

  • err: any
  • op: "throw"
  • val: undefined