Changed WhatError to inherit from AssertionError in order to be compatitable with unittest.