This may be useful for things like AttributeError, ValueError etc. Use error name directly as exception name without much validation, as it comes from dom0.