code: def get_exception(self):
          
          exception = known_errors.get(self.code)
          if exception:
              return exception(self)
          else:
              return self
docs: Gets the error exception derived from the initialization of
          an ErrorResponse object
  
          :return: The derived exception or ResponseError exception