API Documentation for: 1.1.1
Show:

FileError Class

Extends CanteenError
Namespace: Canteen\Errors

Errors for saving to the file system. Located in the namespace Canteen\Errors.

Constructor

FileError

(
  • code
  • [data='']
)

Parameters:

  • code Int

    The error code

  • [data=''] String | Array optional

    The optional data associated with this error

Item Index

Methods

Properties

Methods

getResult

() Dictionary

Inherited from CanteenError:

Get the result object

Returns:

Dictionary:

The result Exception object formatted nicely

Properties

FOLDER_MAKE

Int final static

Couldn't make the folder

FOLDER_WRITEABLE

Int final static

The error if the dir isn't writable

JSON_INVALID

Int final static

The settings file is invalid

messages

Array private final static

The collection of messages