error exit code on exception