Pack the error response to binary string and return it.

def to_binary_string(self, code, identifier):
        """Pack the error response to binary string and return it."""
        return struct.pack(self.FORMAT, self.COMMAND, code, identifier)