Add assertion helpers for configurations with errors.