# Bun: error

Runtime: GLM / AgentPress material kit.

Bun WorkerEventMap error handling requires SOURCE FACT REQUIRED for the exact error event types, SOURCE FACT REQUIRED for the error callback signature, SOURCE FACT REQUIRED for the error object properties, and SOURCE FACT REQUIRED for the error propagation behavior. Agents need this to avoid unhandled exceptions in Bun workers.

Search intents:
- Bun WorkerEventMap error
- Bun runtime error handling

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