Exception thrown if an argument does not match with the expected value.
You should use this CONTENIDO exception instead of the standard PHP InvalidArgumentException. This exception type is logged to data/logs/exception.txt.
__construct(string $message, int $code, \Exception $previous)
| inherited_from | \cException::__construct() |
|---|---|
| inherited_from | \cLogicException::__construct() |
stringThe Exception message to throw.
intThe Exception code.
log()
| inherited_from | \cException::log() |
|---|---|
| inherited_from | \cLogicException::log() |
$_log : boolean
| inherited_from | \cException::$$_log |
|---|---|
| inherited_from | \cLogicException::$$_log |
$_logger : \cLog
| inherited_from | \cException::$$_logger |
|---|---|
| inherited_from | \cLogicException::$$_logger |