Repository navigation
Internals Errors
Framework Internals · Developer guide
ExceptionBase extends Exception and seeds a System Context, dispatches context.get when a dispatcher exists, calls subclass buildMessage and appends the previous Throwable message. Wrappers such as AWTException, provider/model/render/manifest exceptions retain causes and domain context; runtime RuntimeException is a separate RuntimeException subclass.
ErrorHandler.fun.php registers the uncaught exception handler and selected shutdown error rendering. CLI output uses ANSI labels, root cause information and up to ten trace frames in DEBUG; uncaught CLI errors exit 1. Web output sets status 500 and uses the debug/error Blade templates with a minimal HTML fallback when rendering fails.
The shutdown path checks only parse/core/compile error categories. The handlers are included only in installed boot. Suppressed warnings, caught View failures and local bootstrap die() paths do not share a single uniform logging/response policy. public/errors templates have their own source reference pages in the Bootstrap subsystem.
-
Exception-AWTException —
awt_src/classes/exception/AWTException.php -
Exception-ExceptionBase —
awt_src/classes/exception/ExceptionBase.php
AWT Framework Wiki · Home · Installation Guide · Developer Guide · Framework Internals
Philosophy · Architecture · Known discrepancies · Verification
Installation Guide
Developer Guide
- Learning sequence
- First package
- Package structure
- Lifecycle
- Runtimes
- Events and objects
- Routing and controllers
- Views and resources
- Database and models
- Storage and caching
- Configuration and CLI
- Responses and errors
- Extension points
Framework Internals
- Architecture
- Bootstrap
- Packages
- Runtime
- Events and context
- Objects
- HTTP routing and controllers
- Rendering
- Blade integration
- Database
- Models
- Storage and caching
- Settings
- CLI
- Identity and sessions
- Responses
- Errors
- Complete source inventory
Documentation notes