Exception thrown if a value does not match with a set of values.
Typically this happens when a function calls another function and expects the return value to be of a certain type or value not including arithmetic or buffer related errors. You should use this CONTENIDO exception instead of the standard PHP UnexpectedValueException. This exception type is logged to data/logs/exception.txt.
__construct(string $message, int $code, \Exception $previous)
| inherited_from | \cException::__construct() |
|---|---|
| inherited_from | \cRuntimeException::__construct() |
stringThe Exception message to throw.
intThe Exception code.
log()
| inherited_from | \cException::log() |
|---|---|
| inherited_from | \cRuntimeException::log() |
$_log : boolean
| inherited_from | \cException::$$_log |
|---|---|
| inherited_from | \cRuntimeException::$$_log |
$_logger : \cLog
| inherited_from | \cException::$$_logger |
|---|---|
| inherited_from | \cRuntimeException::$$_logger |