adding exception error codes