Fix typo in exception subclassing
Fix equality negation when using only the '=' sign, catch transformation errors