Skip to content

Commit

Permalink
Updated error list
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Oct 31, 2018
1 parent 3c9d733 commit a92c462
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 11 deletions.
52 changes: 41 additions & 11 deletions errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -221,32 +221,53 @@
"ProcessGraphMissing": {
"code": 2001,
"description": null,
"message": "No process graph specified.",
"message": "No valid process graph specified.",
"http": 400,
"tags": [
"Process Graph Management",
"Job Management",
"Secondary Services Management"
]
},
"ProcessGraphInvalid": {
"code": 2002,
"VariableValueMissing": {
"code": 2004,
"description": null,
"message": "Process graph structure is invalid.",
"message": "No value specified for process graph variable '{variable_id}'.",
"http": 400,
"tags": [
"Process Graph Management",
"Job Management",
"Secondary Services Management"
]
},
"ArrayTypesInconsistent": {
"code": 2003,
"VariableDefaultValueTypeInvalid": {
"code": 2004,
"description": null,
"message": "The array [{value}] contains values of multiple types.",
"message": "The default value specified for the process graph variable '{variable_id}' is not of type '{type}'.",
"http": 400,
"tags": [
"Processes"
"Process Graph Management",
"Job Management"
]
},
"VariableIdInvalid": {
"code": 2005,
"description": null,
"message": "A specified variable ID is not valid.",
"http": 400,
"tags": [
"Process Graph Management",
"Job Management"
]
},
"VariableTypeInvalid": {
"code": 2006,
"description": null,
"message": "The data type specified for the process graph variable '{variable_id}' is invalid. Must be one of: string, boolean, number, array or object.",
"http": 400,
"tags": [
"Process Graph Management",
"Job Management"
]
},
"ProcessUnsupported": {
Expand All @@ -270,7 +291,7 @@
"ProcessArgumentInvalid": {
"code": 2103,
"description": null,
"message": "Invalid value '{value}' for the process argument '{argument}' in process '{process}' specified.",
"message": "The value specified for the process argument '{argument}' in process '{process}' is invalid: {reason}",
"http": 400,
"tags": [
"Processes"
Expand All @@ -285,6 +306,15 @@
"Processes"
]
},
"ProcessArgumentsMissing": {
"code": 2105,
"description": null,
"message": "Process '{process}' requires at least '{min_parameters}' parameters.",
"http": 400,
"tags": [
"Processes"
]
},
"JobNotFound": {
"code": 5101,
"description": "The requested job does not exist.",
Expand Down Expand Up @@ -316,7 +346,7 @@
"FormatArgumentInvalid": {
"code": 3003,
"description": null,
"message": "Invalid value '{value}' for the output format argument '{argument}' specified.",
"message": "The value specified for the output format argument '{argument}' is invalid: {reason}",
"http": 400,
"tags": [
"Job Management"
Expand Down Expand Up @@ -444,7 +474,7 @@
"ServiceArgumentInvalid": {
"code": 5103,
"description": null,
"message": "Invalid value '{value}' for the secondary service argument '{argument}' specified.",
"message": "The value specified for the secondary service argument '{argument}' is invalid: {reason}",
"http": 400,
"tags": [
"Secondary Services Management"
Expand Down
1 change: 1 addition & 0 deletions processes.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@
"schema": {
"type": "object",
"format": "spatial_extent",
"additionalProperties": false,
"required": [
"west",
"south",
Expand Down

0 comments on commit a92c462

Please sign in to comment.