Trogon.Commanded.ConsistencyPolicy.VersionMismatchError exception (Trogon.Commanded v1.0.0)

Copy Markdown View Source

Requested version does not match the current version.

Summary

Types

Version the projection is at (has moved past requested).

Policy that required exact version.

t()

Raised when the projection version does not match the policy requirement.

Types

current_version()

@type current_version() :: non_neg_integer()

Version the projection is at (has moved past requested).

policy()

Policy that required exact version.

t()

@type t() :: %Trogon.Commanded.ConsistencyPolicy.VersionMismatchError{
  __exception__: true,
  current_version: current_version(),
  policy: policy()
}

Raised when the projection version does not match the policy requirement.