Keep in mind that by assigning this action (eg, ignore 5185) to a repserver error class, the same action will occur for all other database connections that are bound to this same repserver error class.
If you want to assign a specific action for 5185 to just the one database then you'll really want to create a new repserver error class from scratch ... relatively easy to do but requires a bit more understanding of how classes are managed by repservers, how said classes can be inherited by downstream repservers, and making sure the new repserver error class has a complete set of actions for all possible errors.