-
Notifications
You must be signed in to change notification settings - Fork 1
Error – Definition
Bartosz Łaniewski edited this page Mar 30, 2018
·
1 revision
defineError({
instance: CustomError
});
Additionally, you can override properties from CustomError
directly in handler definition:
defineError({
instance: CustomError,
errorCode: 1000,
httpStatus: 400,
userMessage: "…"
});
This Wiki and indvidual modules READMEs contains a lot of information – please take your time and read these instructions carefully.