Reports a lock that could not be released or given away.
This exception is returned by Mutex.release/2 and raised by
Mutex.release!/2 and Mutex.give_away/4.
The following fields are public:
:key_or_keys- the key of a single lock, or the list of keys of a multilock.:lock_type-:singleor:multi.:action- the attempted operation,:releaseor:give_away.:releaser- the pid of the process that attempted the operation.:cause- the reason why the operation failed::bad_owner- a key is locked by another process. The pid of that process is then set in the:ownerfield.:unknown_key- a key is not locked in the mutex.
:owner- the pid of the process owning a key of the lock when the cause is:bad_owner, otherwisenil.
Summary
Functions
Callback implementation for Exception.message/1.
Types
Functions
Callback implementation for Exception.message/1.