Sha256: 14865e05945a4a16eb47edead2cb636df523a559c6b55c32de4c89812fb77397
Contents?: true
Size: 304 Bytes
Versions: 13
Compression:
Stored size: 304 Bytes
Contents
module WithAdvisoryLock class NestedAdvisoryLockError < StandardError attr_accessor :lock_stack def initialize(msg = nil, lock_stack = nil) super(msg) @lock_stack = lock_stack end def to_s super + (lock_stack ? ": lock stack = #{lock_stack}" : "") end end end
Version data entries
13 entries across 13 versions & 1 rubygems