Interface ExceptionMessageImprover

    • Method Detail

      • tryToImprove

        Optional<String> tryToImprove​(org.everit.json.schema.ValidationException exception)
        Get an improved error message if possible.
        Parameters:
        exception - exception to improve
        Returns:
        Improved error message or Optional.empty() if the message can't be improved by this improver.