Use custom base exception class for all library exceptions