Exception: Firebase::Admin::Messaging::Error

Inherits:
Error
  • Object
show all
Defined in:
lib/firebase/admin/messaging/error.rb

Overview

A base class for errors raised by the admin sdk messaging client.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#infoObject (readonly)

Returns the value of attribute info.



6
7
8
# File 'lib/firebase/admin/messaging/error.rb', line 6

def info
  @info
end