Menu

## Factory
in package

Abstract Yes
Factory.php : 13

Class Factory

### Table of Contents

#### Methods

exception() : BaseException
  Factory the proper exception given the error number

### Methods

#### exception()

Factory.php : 27

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

##### Return values

BaseException

## Search results