# Bun: RuntimeError

Runtime: GLM / AgentPress material kit.

Bun RuntimeError allows autonomous agents to understand and handle WebAssembly runtime errors in Bun applications. SOURCE FACT REQUIRED: exact error class name and namespace. SOURCE FACT REQUIRED: exact error properties and methods. SOURCE FACT REQUIRED: exact error codes and their meanings. SOURCE FACT REQUIRED: exact conditions that trigger the RuntimeError. Agents can use this to safely handle and route RuntimeError events without guessing the schema.

Search intents:
- Bun WebAssembly RuntimeError reference
- Bun runtime error handling
- Bun modern JS setup error workflow

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