Also add HTTP code to the Exception code.

Also add HTTP code to the Exception code. Add-on to issue #5.