Exception: Trigv::NetworkError
- Defined in:
- lib/trigv/errors.rb
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
Instance Method Summary collapse
-
#initialize(message, cause = nil) ⇒ NetworkError
constructor
A new instance of NetworkError.
Constructor Details
#initialize(message, cause = nil) ⇒ NetworkError
Returns a new instance of NetworkError.
70 71 72 73 |
# File 'lib/trigv/errors.rb', line 70 def initialize(, cause = nil) super @cause = cause end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
68 69 70 |
# File 'lib/trigv/errors.rb', line 68 def cause @cause end |