Error constructor for test and validation frameworks that implements standardized AssertionError specification.