code: def code(self, code):
          
          allowed_values = [400, 401, 404]
          if code not in allowed_values:
              raise ValueError(
                  "Invalid value for `code` ({0}), must be one of {1}"
                  .format(code, allowed_values)
              )
  
          self._code = code
docs: Sets the code of this ErrorResponse.
          Response code.
  
          :param code: The code of this ErrorResponse.
          :type: int