def METHOD_NAME(self, data):
    message = data.get("message", "unknown error")
    errors = data.get("errors", None)
    if errors:
        return "{}: {}".format(message, " ".join(errors))
    return message