mirror of
https://github.com/adidas/api-guidelines.git
synced 2025-10-25 15:19:19 +00:00
Updates message/error-reporting.md
Auto commit by GitBook Editor
This commit is contained in:
@@ -28,6 +28,8 @@ It **SHOULD** have the `type` field with the identifier of the error, in additio
|
||||
}
|
||||
```
|
||||
|
||||
> NOTE: The `type` field is identifier and as such it **** be used to denote additional error codes. Keep in mind that the identifier should be an URI.
|
||||
|
||||
## Additional Fields
|
||||
If needed, the Problem Detail **MAY** include additional fields, refer to [RFC7807](https://tools.ietf.org/html/rfc7807) for details.
|
||||
|
||||
@@ -56,6 +58,5 @@ Content-Language: en
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
## No Stack Traces or Server Logs
|
||||
A Problem Detail response **MUST NOT** contain a program stack trace or server log for debugging purposes. Instead provide a `logref` field with a reference to the particular server log.
|
||||
Reference in New Issue
Block a user