Added support for string format errors.