EventHandler

Exceptions raised by "Artaengine.RaiseHandler". When a a factory (url handler) is not found.
Source
EventHandler.php
Extends
Exception
Since
1.2.2

Constants

HANDLER_CLASS_NOT_EXISTS = 79064

Factory/handler class not exists in the file.

HANDLER_FILE_NOT_EXISTS = 79062

Factory/handler file not exists.

HANDLER_METHOD_NOT_EXISTS = 79063

Factory/handler method not exists in the class.

HANDLER_NOT_DEFINED = 79061

Factory/handler is not defined.

Methods

__construct

EventHandler $obj = new EventHandler(const code, string msg)

Constructs EventHandler object.

Arguments

    code (const)
    Error code
    msg (string)
    Error message

Returns

void

msg

string $obj->msg(const code, string msg)

Returns error message.

Arguments

    code (const)
    Error code
    msg (string)
    Error message

Returns

string
Error message