Exception: Chatkit::UnexpectedParameterError
- Defined in:
- lib/chatkit/unexpected_parameter_error.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message) ⇒ UnexpectedParameterError
constructor
A new instance of UnexpectedParameterError.
- #to_s ⇒ Object
Constructor Details
#initialize(message) ⇒ UnexpectedParameterError
Returns a new instance of UnexpectedParameterError.
7 8 9 |
# File 'lib/chatkit/unexpected_parameter_error.rb', line 7 def initialize() @message = end |
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
5 6 7 |
# File 'lib/chatkit/unexpected_parameter_error.rb', line 5 def @message end |
Instance Method Details
#to_s ⇒ Object
11 12 13 |
# File 'lib/chatkit/unexpected_parameter_error.rb', line 11 def to_s "Chatkit::UnexpectedParameterError - #{@message}" end |