ApiSchemas
ConnectionErrorEncoded
One shape from the contract, as it appears on the wire.
Used by connections.test
JSON Schema
{
"type": "object",
"properties": {
"_tag": {
"type": "string",
"enum": [
"ConnectionError"
]
},
"connectionId": {
"$ref": "#/components/schemas/ConnectionId"
},
"message": {
"type": "string"
},
"status": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"enum": [
"Infinity",
"-Infinity",
"NaN"
]
}
]
}
},
"required": [
"_tag",
"connectionId",
"message"
],
"additionalProperties": false
}