code: def with_code(self, code):
          
          self.code = code if code != None else 'UNKNOWN'
          self.name = code
          return self
docs: Sets a unique error code.
          This method returns reference to this exception to implement Builder pattern to chain additional calls.
  
          :param code: a unique error code
  
          :return: this exception object