Experimental
Schema
LocalizedMessage
Type:
object
Provides a localized error message that is safe to return to the user
which can be attached to an operation error.
locale
Type:
string
The locale used following the specification defined at
https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
Examples are: "en-US", "fr-CH", "es-MX"
All schema constraints and annotations
{
"description": "The locale used following the specification defined at\nhttps://www.rfc-editor.org/rfc/bcp/bcp47.txt.\nExamples are: \"en-US\", \"fr-CH\", \"es-MX\"",
"type": "string"
}message
Type:
string
The localized error message in the above locale.
All schema constraints and annotations
{
"description": "The localized error message in the above locale.",
"type": "string"
}All schema constraints and annotations
{
"description": "Provides a localized error message that is safe to return to the user\nwhich can be attached to an operation error.",
"properties": {
"locale": {
"description": "The locale used following the specification defined at\nhttps://www.rfc-editor.org/rfc/bcp/bcp47.txt.\nExamples are: \"en-US\", \"fr-CH\", \"es-MX\"",
"type": "string"
},
"message": {
"description": "The localized error message in the above locale.",
"type": "string"
}
},
"title": "LocalizedMessage",
"type": "object"
}