I am catching an exception in a library but it seems that only exceptions that consumes that library are catched. Why?
The library can only catch exceptions that occur within its own logic. Exceptions raised in the consuming module do not propagate back to the library. To manage errors consistently, consider standardizing error handling by returning error messages or codes from the library and handling them in the consuming module.