public static function createFromException(\Exception $e, $http_status = Response::STATUS_ERROR)
    {
        return new Error(
            $e->getMessage(),
            $http_status,
            $e->getFile(),
            $e->getLine(),
            $e
        );
    }