Overview

Namespaces

  • Autarky
    • Config
      • Loaders
    • Console
    • Container
      • Exception
      • Factory
      • Proxy
    • Database
    • Errors
    • Events
    • Files
    • Http
    • Logging
    • Providers
    • Routing
      • Events
    • Testing
    • TwigTemplating
      • Extensions
    • Utils

Classes

  • ErrorHandlerManager
  • ErrorHandlerProvider
  • StubErrorHandler

Interfaces

  • ErrorHandlerInterface
  • ErrorHandlerManagerInterface
  • Overview
  • Namespace
  • Class

Interface ErrorHandlerManagerInterface

The framework's error handler that takes care of caught and uncaught exceptions as well as fatal PHP errors.

Autarky\Errors\ErrorHandlerManagerInterface implements Autarky\Errors\ErrorHandlerInterface

Direct known implementers

Autarky\Errors\ErrorHandlerManager, Autarky\Errors\StubErrorHandler
Namespace: Autarky\Errors
Located at Errors/ErrorHandlerManagerInterface.php
Methods summary
public
# setRethrow( boolean $toggle )

Set whether exceptions should be handled or rethrown.

Set whether exceptions should be handled or rethrown.

Parameters

$toggle
public
# appendHandler( callable|Autarky\Errors\ErrorHandlerInterface $handler )

Append a handler to the list of handlers.

Append a handler to the list of handlers.

Parameters

$handler
public
# prependHandler( callable|Autarky\Errors\ErrorHandlerInterface $handler )

Prepend a handler to the list of handlers.

Prepend a handler to the list of handlers.

Parameters

$handler
public
# setDefaultHandler( Autarky\Errors\ErrorHandlerInterface $handler )

Set the default handler that will be called if no other handlers are available.

Set the default handler that will be called if no other handlers are available.

Parameters

$handler
public
# register( )

Register the error handler to handle uncaught exceptions and errors.

Register the error handler to handle uncaught exceptions and errors.

Methods inherited from Autarky\Errors\ErrorHandlerInterface
handle()
Autarky Framework API documentation generated by ApiGen