Description
Perl classes can share behavior for objects that are thrown as exceptions. This helps projects represent errors as structured objects instead of only plain strings.
It is a developer library. Exception objects should expose useful context without leaking secrets, paths, or private request data in user-facing messages.