I have a begin rescue clause and want to trap for specific errors
rescue Excpetion => err
when … # trap for ErrNo::EINVAL
Say I get the error ErrNo::EINVAL … how/where can I find out what the
Excpetion for it is named?
I have tries ErrNo::EINVAL, ErrNo::EINVALError, EINVALError, but none of
these seem to trap the exception …
Any help please