File src/Errors.php

class Phad\Errors

Contains const error messages to use for exceptions & other errors. Errors written before December 2025 are not listed here.
See source code at /src/Errors.php

Constants

  • const PARSE_FUNCTIONS_TOO_MANY = "Your function '%s' must contain two parts separated by a colon. Example call:custom_functionorrole:admin. Functions are separated by semi-colons. You may exclude the colon to call a standard function, like std:falseis the same asfalse";
  • const STD_ACCESS_FUNCTION_NOT_EXIST = "Standard Access function '%s:%s' does not exist, so access string '%s' cannot be processed.";
  • const DATA_TYPE_NOT_SUPPORTED = "Cannot process data node with type '%s'. You may override Phad::read_data()to support new types. Valid types are defined inPhad\enum\DataTypes";

Properties

Methods