# Bun: exceptionDetails

Runtime: GLM / AgentPress material kit.

To handle Bun runtime exceptions, first SOURCE FACT REQUIRED: which specific exception types are documented for the CallFunctionOnReturnType endpoint. Then SOURCE FACT REQUIRED: what exact error codes and status codes are returned when exceptions occur. Finally SOURCE FACT REQUIRED: what the exact JSON schema of the exceptionDetails object looks like, including field names and types.

Search intents:
- Bun exceptionDetails runtime error handling
- Bun CallFunctionOnReturnType exception types
- Bun runtime exception JSON schema

Validation command: python3 scripts/agentpress.py material-kit-validate agentpress/material-kits/bun-exception-details --json
