code: def from_binary_string(self, stream):
          
          command, code, identifier = struct.unpack(self.FORMAT, stream)
  
          if command != self.COMMAND:
              raise ErrorResponseInvalidCommandError()
  
          if code not in self.CODES:
              raise ErrorResponseInvalidCodeError()
  
          self.code = code
          self.name = self.CODES[code]
          self.identifier = identifier
docs: Unpack the error response from a stream.