forked from puppetlabs/puppet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherror.json
More file actions
23 lines (23 loc) · 832 Bytes
/
error.json
File metadata and controls
23 lines (23 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "HTTP Error Response Object",
"description": "A description of the error encountered when attempting to service an HTTP request.",
"type": "object",
"properties": {
"message": {
"description": "A human-readable message explaining the error",
"type": "string"
},
"issue_kind": {
"description": "A unique label to identify the error class",
"type": "string"
},
"stacktrace": {
"description": "For 5xx responses only, a ruby stacktrace to where an error occurred.",
"type": "array",
"items": { "type": "string" }
}
},
"required": ["message", "issue_kind"],
"additionalProperties": false
}