Sha256: 583e324568dd1a14154cf848cdf8fc8927a8ac5d0a3cecee117a1500b10f5168
Contents?: true
Size: 459 Bytes
Versions: 43
Compression:
Stored size: 459 Bytes
Contents
# frozen_string_literal: true class Tramway::Error < RuntimeError 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
43 entries across 43 versions & 1 rubygems