# errorMessage property

1. @override

String get errorMessage
override

Gets the error message to display when validation fails.

This should provide a clear explanation of the validation requirements.

Example:

    if (!validator.isValid(uri)) {
      throw FormatException(validator.errorMessage);
    }

## Implementation

    @override
    String get errorMessage => 'URI must include query parameters: ${requiredParams.join(', ')}';