Don't throw set exception if it is an error based exception, this breaks how we deal with assertions in general.