Error codes
If you need to create custom error codes for sending mails to stakeholder etc this is where you would create them, they can be used in the processing of a document where you fail a document with your own error code.
Error codes below 100000 is system specifics and can not be edited or deleted, everything above that will be manageable through the UI.
To Create a new Error code, go to Developer/Error codes:
![](../__attachments/2331249432/image-20220727-075632.png?inst-v=a204603b-72d2-4d67-b324-401abe447902)
Here you can see the error codes already existing:
![](../__attachments/2331249432/image-20220727-075728.png?inst-v=a204603b-72d2-4d67-b324-401abe447902)
and to create a new Click the + left to the seach bar:
![](../__attachments/2331249432/image-20220727-075840.png?inst-v=a204603b-72d2-4d67-b324-401abe447902)
then a new window will appear where you can type the information to a new error code:
![](../__attachments/2331249432/image-20220727-075936.png?inst-v=a204603b-72d2-4d67-b324-401abe447902)
The number of the code must be shared with the developer who is to raise the error code.
You can raise a custom error code from a mapping, schematron validation or a custom component.