Error Messages

Version vom 17. Oktober 2019, 10:09 Uhr von Bachemj (Diskussion | Beiträge)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

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.

include example here

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

include example here

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.

include example here

Standard Error Messages

STRING defines a set of standard error messages and matching codes. They are not stored in the XSD schemata but on the STRING web server:$LANG.csv. We will supply at least English and German versions of these files; other languages might follow later.