Initialize a New Error Class

After you have create a new error class, you can initialize it with error actions from an error class such as the system-provided rs_sqlserver_error_class.

To do this, use the rs_init_erroractions stored procedure:
rs_init_erroractions new_error_class, template_class
For example, to initialize the error class pubs2_error_class, based on the template error class rs_sqlserver_error_class, enter:
rs_init_erroractions pubs2_error_class, rs_sqlserver_error_class

Then use the assign action command to change the actions for individual errors.