MvcLite\Exception

Base Exception

Synopsis

class Exception extends Exception {
  • // constants
  • const ERR_MAGIC_METHOD = 'Magic Methods defeat the purpose of this framework >_<';
  • const ERR_MAGIC_METHOD_GET = 'Cannot use __get in the MVCLite framework: !explain';
  • const ERR_MAGIC_METHOD_SET = 'Cannot use __set in the MVCLite framework: !explain';
  • const ERR_MAGIC_METHOD_CALL = 'Cannot use __call in the MVCLite framework: !explain';
  • // Inherited members from Exception
  • protected  $message;
  • protected  $code;
  • protected  $file;
  • protected  $line;
}

Hierarchy

Extends

Coverage

Methods 0% 0 / 0
Lines 0% 0 / 0

Constants

Name Value
ERR_MAGIC_METHOD 'Magic Methods defeat the purpose of this framework >_<'
ERR_MAGIC_METHOD_GET 'Cannot use __get in the MVCLite framework: !explain'
ERR_MAGIC_METHOD_SET 'Cannot use __set in the MVCLite framework: !explain'
ERR_MAGIC_METHOD_CALL 'Cannot use __call in the MVCLite framework: !explain'

Members

protected

  • $code — int
    The exception code
  • $file — string
    The filename where the exception was created
  • $line — int
    The line where the exception was created
  • $message — string
    The exception message

Methods

Inherited from Exception

public

History