Sha256: 1ef1783f5f3f24b88bc9df9ac96abfc6ef4dc713b7a132a18bcebb3a3b05248e

Contents?: true

Size: 396 Bytes

Versions: 3

Compression:

Stored size: 396 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

3 entries across 3 versions & 1 rubygems

Version Path
ledger_sync-1.4.2 lib/ledger_sync/ledgers/netsuite/error.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/netsuite/error.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/netsuite/error.rb