Exception thrown if an error which can only be found on runtime occurs.
This kind of exceptions should directly lead to a fix in your code. You should use this CONTENIDO exception instead of the standard PHP RuntimeException. This exception type is logged to data/logs/exception.txt.
__construct(string $message, int $code, \Exception $previous)
| inherited_from | \cException::__construct() |
|---|
stringThe Exception message to throw.
intThe Exception code.
log()
| inherited_from | \cException::log() |
|---|
$_log : boolean
| inherited_from | \cException::$$_log |
|---|