Replication Server 15.2 includes the set template to option for the create error class command. Use create error class, and set template to, and another error class as a template, to create your own error classes. create error class copies the error actions from the template error class to the new error class.
create error class error_class [set template to template_error_class]
This example creates the my_error_class error class for an Oracle database based on rs_oracle_error_class as a template:
create error class my_error_class set template to rs_oracle_error_class