JackWFinlay / jsonize

Convert HTML to JSON.
MIT License
23 stars 12 forks source link

Add Exception handling. #33

Closed JackWFinlay closed 4 years ago

JackWFinlay commented 6 years ago

Currently all exceptions are thrown to the calling program. Catch expected exceptions e.g. anything that calls remote data sources should attempt to catch any exceptions and resolve them at first chance. If required to re-throw: Wrap them in a new type of exception, with the thrown exception as an inner exception on the new type of exception.

Types of Exceptions to create:

Suggestions about implementation and exception types is welcome.