October\Rain\Foundation\Bootstrap\HandleExceptions
Overview
HandleExceptions is a registration point for handling exceptions
Extends
- Illuminate\Foundation\Bootstrap\HandleExceptions
Public Properties
There are no public properties in the class.
Show inherited public properties
Inherited Public Properties
- $reservedMemory - Reserved memory so that errors can be displayed properly on memory exhaustion. (defined in Illuminate\Foundation\Bootstrap\HandleExceptions)
Protected Properties
There are no protected properties in the class.
Show inherited protected properties
Inherited Protected Properties
- $app - The application instance. (defined in Illuminate\Foundation\Bootstrap\HandleExceptions)
Public Methods
Inherited Public Methods
- bootstrap() - Bootstrap the given application. (defined in Illuminate\Foundation\Bootstrap\HandleExceptions)
- flushHandlersState() - Flush the bootstrapper's global handlers state. (defined in Illuminate\Foundation\Bootstrap\HandleExceptions)
- flushState() - Flush the bootstrapper's global state. (defined in Illuminate\Foundation\Bootstrap\HandleExceptions)
- forgetApp() - Clear the local application instance from memory. (defined in Illuminate\Foundation\Bootstrap\HandleExceptions)
- handleDeprecationError() - Reports a deprecation to the "deprecations" logger. (defined in Illuminate\Foundation\Bootstrap\HandleExceptions)
- handleError() - Report PHP deprecations, or convert PHP errors to ErrorException instances. (defined in Illuminate\Foundation\Bootstrap\HandleExceptions)
- handleException() - Handle an uncaught exception from the application. (defined in Illuminate\Foundation\Bootstrap\HandleExceptions)
- handleShutdown() - Handle the PHP shutdown event. (defined in Illuminate\Foundation\Bootstrap\HandleExceptions)
Protected Methods
protected shouldIgnoreDeprecationErrors()
protected shouldIgnoreDeprecationErrors(): bool
shouldIgnoreDeprecationErrors determine if deprecation errors should be ignored.
The logic here used by Laravel is unsatisfactory since the MessageLogged event won't distinguish between exceptions and deprecations or the log driver used, so a custom configuration key is included as part of the core system.
Show inherited protected methods
Inherited Protected Methods
- ensureDeprecationLoggerIsConfigured() - Ensure the "deprecations" logger is configured. (defined in Illuminate\Foundation\Bootstrap\HandleExceptions)
- ensureNullLogDriverIsConfigured() - Ensure the "null" log driver is configured. (defined in Illuminate\Foundation\Bootstrap\HandleExceptions)
- fatalErrorFromPhpError() - Create a new fatal error instance from an error array. (defined in Illuminate\Foundation\Bootstrap\HandleExceptions)
- forwardsTo() - Forward a method call to the given method if an application instance exists. (defined in Illuminate\Foundation\Bootstrap\HandleExceptions)
- getExceptionHandler() - Get an instance of the exception handler. (defined in Illuminate\Foundation\Bootstrap\HandleExceptions)
- isDeprecation() - Determine if the error level is a deprecation. (defined in Illuminate\Foundation\Bootstrap\HandleExceptions)
- isFatal() - Determine if the error type is fatal. (defined in Illuminate\Foundation\Bootstrap\HandleExceptions)
- renderForConsole() - Render an exception to the console. (defined in Illuminate\Foundation\Bootstrap\HandleExceptions)
- renderHttpResponse() - Render an exception as an HTTP response and send it. (defined in Illuminate\Foundation\Bootstrap\HandleExceptions)