Include exception code and, if applicable, error constant.