API Documentation for: 1.0.1
Show:

ParserError Class

Extends Exception
Namespace: Canteen\Parser

Parser specific errors. Located in the namespace Canteen\Errors.

Constructor

ParserError

(
  • code
  • [data='']
  • [messages=null]
)

Parameters:

  • code Int

    The code number

  • [data=''] String | Array optional

    Any extra data associated with error

  • [messages=null] Dictionary optional

    The collection of messages to lookup

Item Index

Properties

Properties

AUTOLOAD_TEMPLATE

Int final static

Duplicate named autoload template

JSON_DECODE

Int final static

There was a problem decoding the JSON

messages

Array private final static

The collection of messages

PARSE_ARRAY

Int final static

The parse substitution is invalid

TEMPLATE_NOT_FOUND

Int final static

The parse template can't be found

TEMPLATE_UNKNOWN

Int final static

The template alias is wrong

UNKNOWN

Int final static

The label for an error that is unknown or unfound in messages