Package com.scytales.mvalid.sdk
Interface Received.Failure
-
- All Implemented Interfaces:
-
com.scytales.mvalid.sdk.Failure
,com.scytales.mvalid.sdk.Received
public interface Received.Failure<D> implements Received<D>, Failure
The interface Failure.
-
-
Method Summary
Modifier and Type Method Description abstract FailureType
getType()
Gets type. abstract String
getMessage()
Gets message. String
getErrorMessageOrTypeName()
Gets error message or type name. -
Methods inherited from class com.scytales.mvalid.sdk.Received
failure, failure, run, runCatching, runOnFailure, runOnFailureCatching, runOnSuccess, runOnSuccessCatching, success
-
Methods inherited from class com.scytales.mvalid.sdk.Failure
getMessageOrDefault
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getType
@NonNull() abstract FailureType getType()
Gets type.
-
getMessage
@Nullable() abstract String getMessage()
Gets message.
-
getErrorMessageOrTypeName
@NonNull() String getErrorMessageOrTypeName()
Gets error message or type name.
-
-
-
-