Sha256: e6e3686db02c2f7501184985ab4d806f5a899cd5f1e0f6b882b03823cb46c3a8
Contents?: true
Size: 425 Bytes
Versions: 40
Compression:
Stored size: 425 Bytes
Contents
class Tramway::Error < Exception def initialize(*args, plugin: nil, method: nil, message: nil) @properties ||= {} @properties[:plugin] = plugin @properties[:method] = method @properties[:message] = message super(*args) end def message "Plugin: #{@properties[:plugin]}; Method: #{@properties[:method]}; Message: #{@properties[:message]}" end def properties @properties ||= {} end end
Version data entries
40 entries across 40 versions & 1 rubygems