Skip to content
  • Ian Lynagh's avatar
    Remove the dangerous Exception functions · ed6aac28
    Ian Lynagh authored
    Removed: catchAny, handleAny, ignoreExceptions
    These make it easy to eat /any/ exception, which is rarely what you want.
    Normally you either want to:
    * only catch exceptions in a certain part of the hierarchy, e.g.
      "file not found", in which case you should only catch exceptions
      of the appropriate type,
    or
    * you want to do some cleanup when an exception happens, and then rethrow
      the exception, in which case you should use onException, or one of the
      bracketing functions.
    ed6aac28