Exception: ClickUp::ClickUpError
- Inherits:
-
StandardError
- Object
- StandardError
- ClickUp::ClickUpError
- Defined in:
- lib/click_up/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ ClickUpError
constructor
A new instance of ClickUpError.
- #to_s ⇒ Object
Constructor Details
#initialize(msg = nil) ⇒ ClickUpError
Returns a new instance of ClickUpError.
7 8 9 |
# File 'lib/click_up/errors.rb', line 7 def initialize(msg = nil) @message = msg end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
5 6 7 |
# File 'lib/click_up/errors.rb', line 5 def @message end |
Instance Method Details
#to_s ⇒ Object
11 12 13 |
# File 'lib/click_up/errors.rb', line 11 def to_s "#{}" end |