Sha256: a5f37f5f0d0940d8ab7bcb2a147d2d17b53f8c54893c24dfd874b5c54cdecaf4

Contents?: true

Size: 414 Bytes

Versions: 2

Compression:

Stored size: 414 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)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
itax_code-2.0.3 lib/itax_code/error.rb
itax_code-2.0.2 lib/itax_code/error.rb