Error

Struct to record a validation error.

package

Default

Methods

__construct

__construct(string $severity, string $code, integer $line, array $context = array()) 

Arguments

$severity

string

$code

string

$line

integer

$context

array

getCode

getCode() : string

Response

string

$code

getContext

getContext() : array

Response

array

$context

getLine

getLine() : integer

Response

integer

$line

getSeverity

getSeverity() : string

Response

string

$severity

Properties

severity

severity : string
var

Type(s)

string

code

code : string
var

Type(s)

string

line

line : integer
var

Type(s)

integer

context

context : array
var

Type(s)

array