Updates message/error-reporting.md

Auto commit by GitBook Editor
This commit is contained in:
apidesigner
2017-02-14 10:48:28 +00:00
parent 31ad9c33e6
commit 5a8fe3e3b9

View File

@@ -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.