Raise an Exception on Verify fail

Hi

I would like to use a verify, but I want to raise an exception if the
verification is not met.

Does anyone knows how to do it?

Thanks

Hi Pedro,

Pedro C. wrote:

I would like to use a verify, but I want to raise an exception
if the verification is not met.

Not sure if this is what you’re looking for, but you could redirect_to a
method that raises it.

hth,
Bill