def METHOD_NAME(self, error, status):
    """
    Raise LiquidWebException.
    """
    exc_type = error.get("error_class")
    message = error.get("full_message")
    try:
        _type = EXCEPTIONS_FIELDS[exc_type]
        fields = _type.get("fields")
        extra = {}
    except KeyError:
        fields = []
    for field in fields:
        extra[field] = error.get(field)
    return APIException(exc_type, message, status, extra=extra)