ErrorReportingInterface
in
PHP Mini Framework
Tags
Table of Contents
- leaveCrumbs() : void
- Leave breadcrumbs for issue tracking
- reportError() : void
- Report Error
- reportException() : void
- Report Exception
- setupReporting() : void
- Set up error reporting
Methods
leaveCrumbs()
Leave breadcrumbs for issue tracking
public
leaveCrumbs(mixed $title[, array<string|int, mixed> $metadata = [] ]) : void
Parameters
- $title : mixed
- $metadata : array<string|int, mixed> = []
Tags
Return values
void —reportError()
Report Error
public
reportError(string $heading, string $message[, string $file = null ][, int $line = null ]) : void
Parameters
- $heading : string
- $message : string
- $file : string = null
- $line : int = null
Tags
Return values
void —reportException()
Report Exception
public
reportException(Throwable $exception) : void
Parameters
- $exception : Throwable
Tags
Return values
void —setupReporting()
Set up error reporting
public
setupReporting() : void