Sha256: c6b99b1aa2d8256b02475aefc2ad6f79aef44d93cad100c3752c521db035802a
Contents?: true
Size: 532 Bytes
Versions: 1
Compression:
Stored size: 532 Bytes
Contents
class ActiveRecordSchemaScrapper class ErrorObject attr_reader :level, :message, :class_name, :type, :original_error def initialize(level: :warn, message:, class_name:, type:, original_error: nil) @level = level @message = message @class_name = class_name @type = type @original_error = original_error end def original_error? original_error.present? end private def self.levels [:info, :warn, :error, :fatal] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_record_schema_scrapper-0.2.2 | lib/active_record_schema_scrapper/object_error.rb |