Method: Webhookdb::ExceptionCarrier#initialize

Defined in:
lib/webhookdb.rb

#initialize(status, message, code: nil, more: {}, headers: {}) ⇒ ExceptionCarrier

Returns a new instance of ExceptionCarrier.



156
157
158
159
160
161
162
# File 'lib/webhookdb.rb', line 156

def initialize(status, message, code: nil, more: {}, headers: {})
  super(message)
  @status = status
  @code = code
  @more = more
  @headers = headers
end