Factory
in package
AbstractYes
Class Factory
Table of Contents
Methods
- exception() : BaseException
- Factory the proper exception given the error number
Methods
exception()
Factory the proper exception given the error number
public
static exception(int $errorNum[, array<string|int, mixed> $data = [] ][, Exception|null $previous = null ]) : BaseException
Parameters
- $errorNum : int
- $data : array<string|int, mixed> = []
- $previous : Exception|null = null