FastGlobalLock.NodesMismatchError exception (fast_global_lock v0.1.1)

View Source

Raised when FastGlobalLock.lock/2 (as well as with_lock/3 and the bang! variants) is called on a key that is already locked by the current process for a different set of nodes.

Summary

Types

t()

@type t() :: %FastGlobalLock.NodesMismatchError{
  __exception__: true,
  existing_nodes: [node()],
  key: term(),
  owner: pid(),
  requested_nodes: [node()]
}