SetError class

Indicates that an error occurred during the set cache item request.

The response object includes the following fields you can use to determine how you want to handle the error:

  • errorCode: a unique Momento error code indicating the type of error that occurred
  • message: a human-readable description of the error
  • innerException: the original error that caused the failure; can be re-thrown
Implemented types

Constructors

SetError(SdkException exception)

Properties

errorCode → MomentoErrorCode
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
innerException Exception?
no setterinherited
message String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited