Sha256: 6787f5d492b3f921a566d3c89e936156edacb84eb8f80761bfdb3d4cec72a5dd

Contents?: true

Size: 397 Bytes

Versions: 5

Compression:

Stored size: 397 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module NetSuite
      class Error < LedgerSync::Error
        class SubsidiariesNotEnabled < self
          def initialize(message: nil)
            message ||= 'Subsidiaries are not enabled on this account'

            super(
              message: message
            )
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ledger_sync-1.6.0 lib/ledger_sync/ledgers/netsuite/error.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/netsuite/error.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/netsuite/error.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/netsuite/error.rb
ledger_sync-1.4.4 lib/ledger_sync/ledgers/netsuite/error.rb