code: def create_exception_for_response(
              cls,
              response_code,
              messages,
              response_id
      ):
          
  
          error_message = cls._generate_message_error(
              response_code,
              messages,
              response_id
          )
  
          if response_code == cls._HTTP_RESPONSE_CODE_BAD_REQUEST:
              return BadRequestException(
                  error_message,
                  response_code,
                  response_id
              )
          if response_code == cls._HTTP_RESPONSE_CODE_UNAUTHORIZED:
              return UnauthorizedException(
                  error_message,
                  response_code,
                  response_id
              )
          if response_code == cls._HTTP_RESPONSE_CODE_FORBIDDEN:
              return ForbiddenException(
                  error_message,
                  response_code,
                  response_id
              )
          if response_code == cls._HTTP_RESPONSE_CODE_NOT_FOUND:
              return NotFoundException(
                  error_message,
                  response_code,
                  response_id
              )
          if response_code == cls._HTTP_RESPONSE_CODE_METHOD_NOT_ALLOWED:
              return MethodNotAllowedException(
                  error_message,
                  response_code,
                  response_id
              )
          if response_code == cls._HTTP_RESPONSE_CODE_TOO_MANY_REQUESTS:
              return TooManyRequestsException(
                  error_message,
                  response_code,
                  response_id
              )
          if response_code == cls._HTTP_RESPONSE_CODE_INTERNAL_SERVER_ERROR:
              return PleaseContactBunqException(
                  error_message,
                  response_code,
                  response_id
              )
  
          return UnknownApiErrorException(
              error_message,
              response_code,
              response_id
          )
docs: :type response_code: int
          :type messages: list[str]
          :type response_id: str
  
          :return: The exception according to the status code.
          :rtype:  ApiException