Alter Error Classes

alter error class copies error actions from a template error class to the error class you want to alter and overwrites error actions which have the same error code.

To alter an error class, enter:
alter [replication server] error class error_class
set template to template_error_class
The replication server option specifies that you want to alter a Replication Server error class.
For example, to alter my_error_class for an Oracle database based on rs_sqlserver_error_class as a template:
alter error class my_error_class
set template to rs_sqlserver_error_class