The drop error class command drops an error class and all actions associated with it.
drop [replication server] error class error_class
drop error class pubs2_error_class
You cannot drop the rs_sqlserver_error_class or any of the default non-ASE error classes.