Skip to content

customErrorHandler is a mystery in the documentation #5353

@tmcw

Description

@tmcw

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the issue has not already been raised

Issue

In the documentation for onError, it mentions:

This hook will be executed only after the customErrorHandler has been executed, and only if the customErrorHandler sends an error back to the user (Note that the default customErrorHandler always sends the error back to the user).

The only other mention I can find of customErrorHandler is in the TypeScript reference, which says the same thing

I think that what both of these are referring to is the argument to setErrorHandler, which is called "Custom Error Handler", but this is a little surprisingly difficult to figure out, without a link or a searchable name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions