Class TxnFailureCause
java.lang.Object
com.github.sttk.sabi.TxnFailureCause
Represents the cause of a transaction failure, containing state information and the associated
error.
This class encapsulates the phase or status in which a transaction failure occurred (via
TxnFailureCauseState) and the specific Err instance detailing the failure.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal com.github.sttk.errs.ErrThe error instance associated with the transaction failure, ornullif none.final TxnFailureCauseStateThe transaction failure cause state indicating the phase or status of the failure. -
Constructor Summary
ConstructorsConstructorDescriptionTxnFailureCause(TxnFailureCauseState state, com.github.sttk.errs.Err err) Constructs a newTxnFailureCausewith the specified failure state and error. -
Method Summary
-
Field Details
-
state
The transaction failure cause state indicating the phase or status of the failure. -
err
public final com.github.sttk.errs.Err errThe error instance associated with the transaction failure, ornullif none.
-
-
Constructor Details
-
TxnFailureCause
Constructs a newTxnFailureCausewith the specified failure state and error.- Parameters:
state- the transaction failure cause stateerr- the error associated with the failure
-
-
Method Details
-
toString
-