Exception: Firebase::Admin::Messaging::Error
- Defined in:
- lib/firebase/admin/messaging/error.rb
Overview
A base class for errors raised by the admin sdk messaging client.
Direct Known Subclasses
InvalidArgumentError, QuotaExceededError, SenderIdMismatchError, ThirdPartyAuthError, UnregisteredError, UnspecifiedError
Instance Attribute Summary collapse
-
#info ⇒ Object
readonly
Returns the value of attribute info.
Instance Method Summary collapse
-
#initialize(msg, info = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(msg, info = nil) ⇒ Error
Returns a new instance of Error.
8 9 10 11 |
# File 'lib/firebase/admin/messaging/error.rb', line 8 def initialize(msg, info = nil) @info = info super(msg) end |
Instance Attribute Details
#info ⇒ Object (readonly)
Returns the value of attribute info.
6 7 8 |
# File 'lib/firebase/admin/messaging/error.rb', line 6 def info @info end |