ErrorBuilder
Table of Contents
Methods
- build() : Error
- buildFromException() : Error
Methods
build()
public
static build(string $message[, int|string $code = 0 ][, bool $isPublic = false ]) : Error
Parameters
- $message : string
- $code : int|string = 0
- $isPublic : bool = false
Return values
ErrorbuildFromException()
public
static buildFromException(Exception $exception) : Error
Parameters
- $exception : Exception