Don’t use protected handled_exceptions method

Rename `exception_code` to `exception_code` which returns either exception code, or handler name