Exception: Camcorder::ProxyPlaybackError
- Defined in:
- lib/camcorder/errors.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#klass ⇒ Object
readonly
Returns the value of attribute klass.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#side_effects ⇒ Object
readonly
Returns the value of attribute side_effects.
Instance Method Summary collapse
-
#initialize(klass, name, args, side_effects) ⇒ ProxyPlaybackError
constructor
A new instance of ProxyPlaybackError.
- #message ⇒ Object
Constructor Details
#initialize(klass, name, args, side_effects) ⇒ ProxyPlaybackError
Returns a new instance of ProxyPlaybackError.
40 41 42 43 44 45 |
# File 'lib/camcorder/errors.rb', line 40 def initialize(klass, name, args, side_effects) @klass = klass @name = name @args = args @side_effects = side_effects end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
39 40 41 |
# File 'lib/camcorder/errors.rb', line 39 def args @args end |
#klass ⇒ Object (readonly)
Returns the value of attribute klass.
39 40 41 |
# File 'lib/camcorder/errors.rb', line 39 def klass @klass end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
39 40 41 |
# File 'lib/camcorder/errors.rb', line 39 def name @name end |
#side_effects ⇒ Object (readonly)
Returns the value of attribute side_effects.
39 40 41 |
# File 'lib/camcorder/errors.rb', line 39 def side_effects @side_effects end |
Instance Method Details
#message ⇒ Object
46 47 48 |
# File 'lib/camcorder/errors.rb', line 46 def "Cannot find recording for #{klass}.#{name} with args: #{args} and side_effects=#{side_effects}" end |