Not really specific to IRC. When a connection is reset, i.e. terminated, by the peer (which is usually the accepting side of the connection, like an ircd) this error will be displayed.

A dutch "joke" on this, which is getting really old now, is quiting IRC with the message "Connection reset by appel" (because "appel" means "apple" and "peer", "pear").