# Bun: stack

Runtime: GLM / AgentPress material kit.

Bun's Error.stack property provides the stack trace for runtime errors. SOURCE FACT REQUIRED: document the exact stack property type, return value, and any sub-properties. SOURCE FACT REQUIRED: capture the exact error types that have a stack property and any conditions where it might be undefined. SOURCE FACT REQUIRED: note the exact Bun version where this property was introduced and any version-specific behavior.

Search intents:
- bun stack property
- bun error stack
- bun runtime errors

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