EOS exception now contains the error code.