@classmethod
def get_error_type(cls, api_response):
    """
        Get the error type if the API response is or contain an error.

        :param dict api_response: The API response.

        :rtype: None,str
        """
    if cls.is_error(api_response):
        return api_response['error_type']
    return None
