/** * Triggers a user created error * Example: $error_handler->trigger("Some Warning", E_USER_ERROR); * * @param string Message * @param string Type */ function trigger($message = "", $type = E_USER_ERROR) { $this->debug->log->error("\$message: {$message} \$type: {$type}"); parent::trigger($message, $type); }