code: def unpack(self, buff, offset=0):
          
          super().unpack(buff, offset)
          code_class = ErrorType(self.error_type).get_class()
          self.code = code_class(self.code)
docs: Unpack binary data into python object.