Raising an error in a callback with ErrorRaise