public function asError($status = self::INTERNAL_ERROR)
    {
        if ($this->error_views) {
            $stream = $this->error_views->getStream($status);
        } else {
            $stream = null;
        }
        return Response::error($status, $this->data, $stream);
    }