PHP Class Autarky\Providers\ProviderException

Inheritance: extends Exception
Show file Open project: autarky/framework

Protected Properties

Property Type Description
$errors string[] The error messages.

Public Methods

Method Description
__construct ( string $message, array $errors ) Constructor.
getErrors ( ) : string[] Get the exception's error messages.

Method Details

__construct() public method

Constructor.
public __construct ( string $message, array $errors )
$message string
$errors array

getErrors() public method

Get the exception's error messages.
public getErrors ( ) : string[]
return string[]

Property Details

$errors protected property

The error messages.
protected string[] $errors
return string[]