class RedshiftError

Attributes

pg_error[RW]

Public Class Methods

new(msg) click to toggle source
Calls superclass method
# File lib/fluent/plugin/out_redshift_v2.rb, line 351
def initialize(msg)
  case msg
  when PG::Error
    @pg_error = msg
    super(msg.to_s)
    set_backtrace(msg.backtrace)
  else
    super
  end
end