Package com.io7m.smfj.validation.api
Interface SMFSchemaValidationErrorType
-
- All Superinterfaces:
SMFErrorType
- All Known Implementing Classes:
SMFSchemaValidationError
@Immutable public interface SMFSchemaValidationErrorType extends SMFErrorType
The type of validation errors.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<java.lang.Exception>
exception()
java.lang.String
message()
-
Methods inherited from interface com.io7m.smfj.core.SMFErrorType
fullMessage
-
-
-
-
Method Detail
-
message
@Parameter java.lang.String message()
- Specified by:
message
in interfaceSMFErrorType
- Returns:
- The error message
-
exception
@Parameter java.util.Optional<java.lang.Exception> exception()
- Specified by:
exception
in interfaceSMFErrorType
- Returns:
- The exception raised, if any
-
-