Raises an error in a callback using a customized message with ErrorRaiseMessage