PHP Mini Documentation

ErrorReportingInterface

PHP Mini Framework

Tags
copyright

busarm.com

license

https://github.com/Busarm/php-mini/blob/master/LICENSE (MIT License)

codeCoverageIgnore

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

        

Search results