Sha256: ee12ca1882b1d9f4774f3a9c5f9a768c37ae7a875d05b6e15df211a7d7d96161
Contents?: true
Size: 326 Bytes
Versions: 2
Compression:
Stored size: 326 Bytes
Contents
# frozen_string_literal: true # Custom errors for the gem class Tabled::FormatError < StandardError # rubocop:disable Style/ClassAndModuleChildren def initialize(received_format:) @received_format = received_format super end def message "Expected to receive CSV but received #{@received_format}" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tabled-1.2.1 | lib/errors/format_error.rb |
tabled-1.2.0 | lib/errors/format_error.rb |