Scalr\Api\Rest\Application::handleErrors PHP Method

handleErrors() public static method

Error handler
public static handleErrors ( integer $errno, string $errstr, string $errfile, integer $errline ) : boolean
$errno integer
$errstr string
$errfile string
$errline integer
return boolean
    public static function handleErrors($errno, $errstr, $errfile, $errline)
    {
        // Handles error suppression.
        if (0 === error_reporting()) {
            return false;
        }
        throw new \ErrorException($errstr, $errno, 0, $errfile, $errline);
    }