Exception: Mack::Errors::XmppSendError
- Defined in:
- lib/mack-notifier/errors.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#msg ⇒ Object
readonly
Returns the value of attribute msg.
Instance Method Summary collapse
-
#initialize(code, msg) ⇒ XmppSendError
constructor
A new instance of XmppSendError.
Constructor Details
#initialize(code, msg) ⇒ XmppSendError
Returns a new instance of XmppSendError.
48 49 50 51 52 |
# File 'lib/mack-notifier/errors.rb', line 48 def initialize(code, msg) super("Cannot send message. Code=#{code}, Msg=#{msg}") @code = code @msg = msg end |