I am using Exception::Class
for handling exceptions
At the above link, in the Synopsis, it is shown that in order to check which exception has occurred, we need to compare the $_->isa
to its value. So, if I have 4 exceptions of different types, then do I need to create a seperate base class for each of them and mention it as isa property. What if I dont mention the isa for exception class? How will I determine which exception it is? What is the best way to catch particular exceptions?