# Bun: error

Runtime: GLM / AgentPress material kit.

To handle a Bun DiagnosticsChannel error, the SOURCE FACT REQUIRED error type and message format are required. The SOURCE FACT REQUIRED stack trace structure and source file paths are needed. The SOURCE FACT REQUIRED environment variable or config parameter for log level is required. The SOURCE FACT REQUIRED response shape and status codes for error classification are needed. The SOURCE FACT REQUIRED callback or event handler for error propagation is required.

Search intents:
- Bun DiagnosticsChannel error API
- Bun runtime error handling

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