Skip to content

Class ErrorEvent

Class \Klitsche\Dog\Events\ErrorEvent

Methods

__construct()

public __construct ( 
    \Throwable $throwable, 
    array $context = []
 ): 
Parameters
throwable \Throwable
context array

getContext()

public getContext (  ): array
Returns
array

getThrowable()

public getThrowable (  ): \Throwable
Returns
\Throwable

Test Coverage 💚

  • 💚 Lines: 100% (4 / 4)
  • 💚 Methods: 100% (3 / 3)