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

docs: improve onError docs by specifying what the error handler is #5358

Merged
merged 2 commits into from
Apr 22, 2024

Conversation

tmcw
Copy link
Contributor

@tmcw tmcw commented Mar 12, 2024

The docs refer to customErrorHandler but don't say what it is - this links the setErrorHandler method.

Checklist

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina mcollina changed the title Improve onError docs by specifying what the error handler is docs: improve onError docs by specifying what the error handler is Mar 19, 2024
@mcollina
Copy link
Member

Can you please fix the docs linter?

docs/Reference/Hooks.md Outdated Show resolved Hide resolved
Signed-off-by: Aras Abbasi <aras.abbasi@googlemail.com>
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still lgtm

@mcollina mcollina merged commit 6258d8a into fastify:main Apr 22, 2024
5 checks passed
@Treasuremathew1
Copy link

Hi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

customErrorHandler is a mystery in the documentation
4 participants