Package zendesk.messaging.android
Class MessagingResult.Failure
-
- All Implemented Interfaces:
public final class MessagingResult.Failure extends MessagingResult<Nothing>
A failure outcome with a message and an optional arbitrary Throwable cause.
-
-
Field Summary
Fields Modifier and Type Field Description private final String
message
private final MessagingError
cause
-
Constructor Summary
Constructors Constructor Description MessagingResult.Failure(MessagingError cause)
-
Method Summary
Modifier and Type Method Description final String
getMessage()
The cause message if available, or empty. final MessagingError
getCause()
an optional arbitrary Throwable exception, null by default -
-
Constructor Detail
-
MessagingResult.Failure
MessagingResult.Failure(MessagingError cause)
-
-
Method Detail
-
getMessage
final String getMessage()
The cause message if available, or empty.
-
getCause
final MessagingError getCause()
an optional arbitrary Throwable exception, null by default
-
-
-
-