Exception: ScreenshotScout::SerializationError
- Defined in:
- lib/screenshotscout/errors.rb,
sig/screenshotscout.rbs
Overview
Raised when a capture option cannot be represented safely on the wire.
Instance Attribute Summary collapse
-
#option ⇒ String, ...
readonly
Returns the value of attribute option.
Instance Method Summary collapse
-
#initialize(message, option: nil) ⇒ SerializationError
constructor
A new instance of SerializationError.
Constructor Details
#initialize(message, option: nil) ⇒ SerializationError
Returns a new instance of SerializationError.
14 15 16 17 |
# File 'lib/screenshotscout/errors.rb', line 14 def initialize(, option: nil) super() @option = option end |
Instance Attribute Details
#option ⇒ String, ... (readonly)
Returns the value of attribute option.
12 13 14 |
# File 'lib/screenshotscout/errors.rb', line 12 def option @option end |