StateTransitionConflictError
Reports that a state transition was rejected because the Item was no longer in the expected source state.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new StateTransitionConflictError(
message?):StateTransitionConflictError
Parameters
Section titled “Parameters”message?
Section titled “message?”string
Returns
Section titled “Returns”StateTransitionConflictError
Inherited from
Section titled “Inherited from”Constructor
Section titled “Constructor”new StateTransitionConflictError(
message?,options?):StateTransitionConflictError
Parameters
Section titled “Parameters”message?
Section titled “message?”string
options?
Section titled “options?”ErrorOptions
Returns
Section titled “Returns”StateTransitionConflictError
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”
readonlycode:"state-transition-conflict"='state-transition-conflict'
Identifies this error as a state transition conflict.
Overrides
Section titled “Overrides”Methods
Section titled “Methods”toJSON()
Section titled “toJSON()”toJSON():
object
Serializes the error as its code, message, and stack for logging and transport.
Returns
Section titled “Returns”object
code:
string
message
Section titled “message”message:
string
stack:
string|undefined

