Closed mrauhu closed 4 years ago
Greetings, Guillaume @Akryum.
In this pull request I added support for:
code
message
// no matched routes if (!matchedComponents.length) { reject({ code: 404, message: 'Not found' }) }
context.statusCode
*
Best wishes, Sergey.
Greetings, Guillaume @Akryum.
In this pull request I added support for:
code
set status code andmessage
appends to body:context.statusCode
and example of usage with wildcard*
path for creating custom 404 error.Best wishes, Sergey.