Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add defineNitroErrorHandler type helper #1923

Merged
merged 10 commits into from
Nov 20, 2023

Commits on Nov 17, 2023

  1. Configuration menu
    Copy the full SHA
    ff19aa6 View commit details
    Browse the repository at this point in the history
  2. chore: name the default error handler

    Having a named function presents it in stack traces to developers, clarifying that an error occurred within the default error handler itself.
    passionate-bram authored Nov 17, 2023
    Configuration menu
    Copy the full SHA
    54fd1e0 View commit details
    Browse the repository at this point in the history
  3. docs: update the errorHandler section of the configuration page

    - The description is extended to explain that the handler can be async
    - Update the example to use the `defineErrorHandler` definer function
    - Changed the implementation of the error handler to one that uses some of h3's functions.
    passionate-bram authored Nov 17, 2023
    Configuration menu
    Copy the full SHA
    e5caa31 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    84028bd View commit details
    Browse the repository at this point in the history
  5. chore: sort auto-import lines alphabetically

    An alphabetically sorted list is easier to find an entry in and easier to confirm an absence as well.
    passionate-bram authored Nov 17, 2023
    Configuration menu
    Copy the full SHA
    aaf559c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ae01894 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. Configuration menu
    Copy the full SHA
    2af5f93 View commit details
    Browse the repository at this point in the history
  2. rename util

    pi0 committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    f29559b View commit details
    Browse the repository at this point in the history
  3. update docs

    pi0 committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    a4ed3cb View commit details
    Browse the repository at this point in the history
  4. reduce changes

    pi0 committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    355ea89 View commit details
    Browse the repository at this point in the history