View Source NimbleOwnership.Error exception (NimbleOwnership v0.3.2)

Exception struct returned by NimbleOwnership functions.

Summary

Types

@type t() :: %NimbleOwnership.Error{
  __exception__: true,
  key: NimbleOwnership.key(),
  reason:
    {:already_allowed, pid()}
    | :not_allowed
    | :already_an_owner
    | :cant_allow_in_shared_mode
    | {:not_shared_owner, pid()}
}