Exception: Dynflow::Errors::UnknownError
- Inherits:
-
StandardError
- Object
- StandardError
- Dynflow::Errors::UnknownError
- Defined in:
- lib/dynflow/errors.rb
Overview
placeholder in case the deserialized error is no longer available
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.for_exception_class(class_name) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/dynflow/errors.rb', line 9 def self.for_exception_class(class_name) Class.new(self) do define_singleton_method :name do class_name end end end |
.inspect ⇒ Object
17 18 19 |
# File 'lib/dynflow/errors.rb', line 17 def self.inspect "#{UnknownError.name}[#{name}]" end |
.to_s ⇒ Object
21 22 23 |
# File 'lib/dynflow/errors.rb', line 21 def self.to_s inspect end |
Instance Method Details
#inspect ⇒ Object
25 26 27 |
# File 'lib/dynflow/errors.rb', line 25 def inspect "#{self.class.inspect}: #{}" end |