Class: Baleen::Message::Exception
- Defined in:
- lib/baleen/message/exception.rb
Instance Method Summary collapse
-
#initialize(opt) ⇒ Exception
constructor
A new instance of Exception.
- #print_message ⇒ Object
- #terminate? ⇒ Boolean
Methods inherited from Base
Methods included from Serializable
deserialize, #dup, #method_missing, #params, symbolize_keys, #to_json
Constructor Details
#initialize(opt) ⇒ Exception
Returns a new instance of Exception.
7 8 9 10 |
# File 'lib/baleen/message/exception.rb', line 7 def initialize(opt) super() @params[:message] = opt[:message] end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Baleen::Serializable
Instance Method Details
#print_message ⇒ Object
16 17 18 |
# File 'lib/baleen/message/exception.rb', line 16 def hl_error end |
#terminate? ⇒ Boolean
12 13 14 |
# File 'lib/baleen/message/exception.rb', line 12 def terminate? true end |