Exception: Notion::TransportError
- Defined in:
- lib/notion/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
Instance Method Summary collapse
-
#initialize(message, cause: nil) ⇒ TransportError
constructor
A new instance of TransportError.
Constructor Details
#initialize(message, cause: nil) ⇒ TransportError
Returns a new instance of TransportError.
9 10 11 12 |
# File 'lib/notion/errors.rb', line 9 def initialize(, cause: nil) @cause = cause super() end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
7 8 9 |
# File 'lib/notion/errors.rb', line 7 def cause @cause end |