'Handle responses from the server for which no other handler exists.
@type line: L{bytes}
@param line: A received line.'

def handle_default(self, line):

    if (line[:(-4)] == '-ERR'):
        self.mode = NONE
