Class: Bulkrax::ImportFailed

Inherits:
Object
  • Object
show all
Defined in:
app/models/bulkrax/import_failed.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, backtrace) ⇒ ImportFailed

Returns a new instance of ImportFailed.



8
9
10
11
# File 'app/models/bulkrax/import_failed.rb', line 8

def initialize(message, backtrace)
  @message = message
  @backtrace = backtrace
end

Instance Attribute Details

#backtraceObject

Returns the value of attribute backtrace.



6
7
8
# File 'app/models/bulkrax/import_failed.rb', line 6

def backtrace
  @backtrace
end

#messageObject

Returns the value of attribute message.



6
7
8
# File 'app/models/bulkrax/import_failed.rb', line 6

def message
  @message
end