class Topographer::Importer::Logger::FatalErrorEntry

Attributes

message[R]
model_name[R]
timestamp[R]

Public Class Methods

new(input_identifier, message) click to toggle source
# File lib/topographer/importer/logger/fatal_error_entry.rb, line 7
def initialize(input_identifier, message)
  @timestamp = DateTime.now
  @input_identifier = input_identifier
  @model_name = 'N/A'
  @message = message
end

Public Instance Methods

details() click to toggle source
# File lib/topographer/importer/logger/fatal_error_entry.rb, line 16
def details
  {}
end
failure?() click to toggle source
# File lib/topographer/importer/logger/fatal_error_entry.rb, line 19
def failure?
  true
end
source_identifier() click to toggle source
# File lib/topographer/importer/logger/fatal_error_entry.rb, line 13
def source_identifier
  'import failure'
end