Reference to the schema. Setting this helps your IDE to assist you while writing the definition.
Typically the GitHub repository name.
Object that maps the error code to an errorCodeDetails
object describing the error code.
The error code must match ^[WFE]-[A-Z][A-Z0-9]*(-[A-Z][A-Z0-9]*)*-\d+$
.
All properties whose name matches the following regular expression must respect the following conditions
Property name regular expression:^[WFE]-[A-Z][A-Z0-9]*(-[A-Z][A-Z0-9]*)*-\d+$
Error message (the message of the exception) without error code. The exception message can contain placeholders like {{NAME}}
. In that case you must define the placeholder in messagePlaceholders
.
Map (placeholder -> description) of placeholders that are used in the message.
Use the placeholder without {{
and }}
as key and the description as value.
Each additional property must conform to the following schema
Type: stringAdditional information about what this error code means or more context about what its purpose is.
Additional description for developers.
Description of known potential causes.
No Additional ItemsDescription of known potential cause.
Description of known mitigations.
No Additional ItemsSource code file where that the exception is thrown.
Source code line number within the the source file where the exception is thrown.
HashCode of the source code context around where the exception is thrown.
It can be used for detecting possible changes among versions.