Add jasmine snippet for exceptions