Agree with @adicherafik : the generic domain-based error handler implements the required behaviour.