Sha256: b61a18f5eb6ab8752b15e011f17b8a5cd585b76e6e6c50737a11fb02539da134

Contents?: true

Size: 353 Bytes

Versions: 52

Compression:

Stored size: 353 Bytes

Contents

module NetSuite
  class RecordNotFound < StandardError; end
  class InitializationError < StandardError; end
  class ConfigurationError < StandardError; end

  class Error
    attr_accessor :type, :code, :message

    def initialize(args = {})
      @type    = args[:@type]
      @code    = args[:code]
      @message = args[:message]
    end
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
netsuite-0.8.1 lib/netsuite/errors.rb
netsuite-0.8.0 lib/netsuite/errors.rb
netsuite-0.7.9 lib/netsuite/errors.rb
netsuite-0.7.8 lib/netsuite/errors.rb
netsuite-0.7.7 lib/netsuite/errors.rb
netsuite-0.7.6 lib/netsuite/errors.rb
netsuite-0.7.5 lib/netsuite/errors.rb
netsuite-0.7.4 lib/netsuite/errors.rb
netsuite-0.7.3 lib/netsuite/errors.rb
netsuite-0.7.2 lib/netsuite/errors.rb
netsuite-0.7.1 lib/netsuite/errors.rb
netsuite-0.7.0 lib/netsuite/errors.rb
netsuite-0.6.9 lib/netsuite/errors.rb
netsuite-0.6.8 lib/netsuite/errors.rb
netsuite-0.6.7 lib/netsuite/errors.rb
netsuite-0.6.6 lib/netsuite/errors.rb
netsuite-0.6.5 lib/netsuite/errors.rb
netsuite-0.6.4 lib/netsuite/errors.rb
netsuite-0.6.3 lib/netsuite/errors.rb
netsuite-0.6.2 lib/netsuite/errors.rb