# Bun: authorizationError

Runtime: GLM / AgentPress material kit.

To handle authorizationError in Bun, access the TLSSocket property and check the error condition. SOURCE FACT REQUIRED: exact property name and type. SOURCE FACT REQUIRED: exact error conditions and when the property is populated. SOURCE FACT REQUIRED: exact return value shape and possible values for the error.

Search intents:
- Bun authorizationError
- Bun TLS error handling
- Bun runtime errors

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