add an exception callback option

useful for sending exceptions to Airbrake.io or something similar. Thanks!