error Function

Registers an error.

Summary

ElementFunction
ReturnsObject

Arguments

objObject[required] Can be a PHP exception or error.

Example

$this->error($error);