ResultCodes

The error codes the runtime answers with, beside the kernel's rejection codes: constants of the framework's table (FrameworkErrors).

Properties

Link copied to clipboard
const val BUSY: String

The aggregate's lane on the executor is full, so the command was not taken; it may be retried.

Link copied to clipboard
const val CONTENDED: String

Concurrent writers kept winning the version slot; retrying with the same request id is safe.

Link copied to clipboard
const val FAILED: String

The command's handling threw an unexpected error (a bug in a decide function or an after hook, a missing dependency): it committed nothing, and a retry fails the same way until the service is fixed.

Link copied to clipboard
const val NODE_CLOSING: String

The node is shutting down, so the command was not taken; another node may take it.

Link copied to clipboard
const val NODE_STANDBY: String

The node is on standby until a migration's cut-over, so the command was not taken.

Link copied to clipboard

A command a schedule sent arrived longer before its due time, on the target node's clock, than the node waits for one (wow.timers.max-early-wait): the firing node's clock is ahead. It was not decided; sending it again later with the same request id is safe.

Link copied to clipboard

A store the command needed could not be reached or did not answer in time (me.ahoo.wow.spi.StorageUnavailableException); retrying with the same request id is safe.

Link copied to clipboard

A subscription on the chain parked the aggregate: the hop will not be reached until it is retried.

Link copied to clipboard

The command's handling produced an event its decide function or an after hook does not declare: a bug in the model, named by the message; it committed nothing.

Link copied to clipboard
const val UNKNOWN: String

Whether the command committed is unknown; retrying with the same request id is safe.

Link copied to clipboard
const val WAIT_INVALID: String

The wait plan is not a chain the runtime can follow, so the command was not executed.

Link copied to clipboard
const val WAIT_TIMEOUT: String

The wait ran out of time. It says only that the wait gave up, not that the command failed.