addedOutput schema / $defs / SafeErrorOutput
Added value: +{
+ "properties": {
+ "code": {
+ "enum": [
+ "partial_move",
+ "permission_denied",
+ "not_found",
+ "invalid_request",
+ "timeout",
+ "rate_limited",
+ "draft_busy",
+ "recovery_required",
+ "imap_error",
+ "connection_error",
+ "broker_error",
+ "outcome_unknown"
+ ],
+ "title": "Code",
+ "type": "string"
+ },
+ "message": {
+ "title": "Message",
+ "type": "string"
+ },
+ "reason": {
+ "anyOf": [
+ {
+ "enum": [
+ "task_rate",
+ "session_queue_timeout",
+ "imap_worker_capacity",
+ "ipc_helper_capacity",
+ "request_deadline",
+ "transport_loss"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Reason"
+ },
+ "retry_after_seconds": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Retry After Seconds"
+ },
+ "scope": {
+ "enum": [
+ "request",
+ "item",
+ "account",
+ "broker",
+ "client"
+ ],
+ "title": "Scope",
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message",
+ "scope",
+ "reason",
+ "retry_after_seconds"
+ ],
+ "title": "SafeErrorOutput",
+ "type": "object"
+}