Class: MCPErrorResponse¶
MCP error response envelope. Closes audit §3.1 row 17. The error payload is nested (matches the JSON-RPC convention used by the live server).
URI: debrief:class/MCPErrorResponse
classDiagram
class MCPErrorResponse
click MCPErrorResponse href "../../classes/MCPErrorResponse/"
MCPErrorResponse : duration_ms
MCPErrorResponse : error
MCPErrorResponse --> "1" Any : error
click Any href "../../classes/Any/"
Slots¶
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| error | 1 Any |
Nested error object `{ code, message, data: { debrief:errorCategory, debrief:... | direct |
| duration_ms | 0..1 Integer |
Wall-clock duration before failure | direct |
Identifier and Mapping Information¶
Schema Source¶
- from schema: https://debrief.info/schemas/debrief
Mappings¶
| Mapping Type | Mapped Value |
|---|---|
| self | debrief:MCPErrorResponse |
| native | debrief:MCPErrorResponse |
LinkML Source¶
Direct¶
name: MCPErrorResponse
description: MCP error response envelope. Closes audit §3.1 row 17. The error payload
is nested (matches the JSON-RPC convention used by the live server).
from_schema: https://debrief.info/schemas/debrief
attributes:
error:
name: error
description: 'Nested error object `{ code, message, data: { debrief:errorCategory,
debrief:affectedFeatures } }`. Free-form per Article XV.2 because the inner
`data` map uses colon-bearing keys outside LinkML slot syntax.'
from_schema: https://debrief.info/schemas/mcp
rank: 1000
domain_of:
- MCPErrorResponse
range: Any
required: true
duration_ms:
name: duration_ms
description: Wall-clock duration before failure.
from_schema: https://debrief.info/schemas/mcp
domain_of:
- MCPToolResponse
- MCPErrorResponse
- ToolResultForLog
- ToolExecutionResultForReplay
range: integer
Induced¶
name: MCPErrorResponse
description: MCP error response envelope. Closes audit §3.1 row 17. The error payload
is nested (matches the JSON-RPC convention used by the live server).
from_schema: https://debrief.info/schemas/debrief
attributes:
error:
name: error
description: 'Nested error object `{ code, message, data: { debrief:errorCategory,
debrief:affectedFeatures } }`. Free-form per Article XV.2 because the inner
`data` map uses colon-bearing keys outside LinkML slot syntax.'
from_schema: https://debrief.info/schemas/mcp
rank: 1000
alias: error
owner: MCPErrorResponse
domain_of:
- MCPErrorResponse
range: Any
required: true
duration_ms:
name: duration_ms
description: Wall-clock duration before failure.
from_schema: https://debrief.info/schemas/mcp
alias: duration_ms
owner: MCPErrorResponse
domain_of:
- MCPToolResponse
- MCPErrorResponse
- ToolResultForLog
- ToolExecutionResultForReplay
range: integer