Sha256: 6438336ed8d15d3c33d65bf52bd7ea6732e6de0991c3befa38369d48bba0a556

Contents?: true

Size: 454 Bytes

Versions: 1

Compression:

Stored size: 454 Bytes

Contents

# frozen_string_literal: true

module ItaxCode
  Error = Class.new(StandardError)

  class Encoder
    Error = Class.new(Error)

    InvalidBirthdateError = Class.new(Error)
    MissingDataError = Class.new(Error)
  end

  class Parser
    Error = Class.new(Error)

    InvalidControlInternalNumberError = Class.new(Error)
    InvalidTaxCodeError = Class.new(Error)
    NoTaxCodeError = Class.new(Error)
    DateTaxCodeError = Class.new(Error)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
itax_code-2.0.5 lib/itax_code/error.rb