You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to ask gurus here. I has a router which looks for a user. If it does not find the user, it throws a 404 error with a message. That is no problem. But if I want to throw an error as an object. It does not work
I would like to ask gurus here. I has a router which looks for a user. If it does not find the user, it throws a 404 error with a message. That is no problem. But if I want to throw an error as an object. It does not work
{
statusCode: 404,
name: 'LookForUser',
internalCode: 'E610014',
correlationId: '00-905e24caee8691b74be2c3ae6d50178c-d38df853b95a5868-00'
}
If i change the statusCode to 400 or 40x but not 404, it work.
This is my codes
Thanks!
Yonglin
Originally posted by @mcollina in fastify/fastify#402 (comment)
The text was updated successfully, but these errors were encountered: