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.
Raised when the projection version does not match the policy requirement.
Types
@type current_version() :: non_neg_integer()
Version the projection is at (has moved past requested).
@type policy() :: Trogon.Commanded.ConsistencyPolicy.ExactVersionPolicy.t()
Policy that required exact version.
@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.