Allows the user to use exceptions or not depending on the workflow they prefer. Fix #5