Error Messages: Unterschied zwischen den Versionen

Aus DRV STRING
Wechseln zu: Navigation, Suche
Zeile 11: Zeile 11:
 
== Errors in Responses ==
 
== Errors in Responses ==
  
The response types have their own error fields for informational messages and non-fatal errors. See the documentation of the [[Documentation|request/response types]].
+
The response types have their own error fields for informational messages and non-fatal errors. See the documentation of the [[Documentation|queries by category]].

Version vom 17. Oktober 2019, 09:55 Uhr

Error messages can be sent on three different levels.

Errors in StringMessage

Errors on the outer level include cases like unavailable operators or invalid content. They are not version-specific.

Errors in Content/Payload

Errors related to valid requests might be handled "inline" in the matching response if the operator is able to create a response, otherwise an ErrorResponse may be used (<GeneralErrorType> in StringError.xsd).

Errors in Responses

The response types have their own error fields for informational messages and non-fatal errors. See the documentation of the queries by category.