Type alias HandledError

HandledError: {
    err: any;
    op: "throw";
    val: null;
}

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

Type declaration

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