in reply to Try::Tiny vs. TryCatch: assigning a value to a variable inside of the try-block

Hello v_melnik,

Have you looked at Try::Tiny::ByClass? From the documentation:

... it provides a way to catch only some exceptions by filtering on the class (including superclasses and consumed roles) of an exception object.

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

  • Comment on Re: Try::Tiny vs. TryCatch: assigning a value to a variable inside of the try-block