Optional suggestion: since we're inside a test module, this could subclass <code>error.TestFail</code> or <code>error.TestError</code>