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.4.1 lib/netsuite/errors.rb
netsuite-0.4.0 lib/netsuite/errors.rb
netsuite-0.3.3 lib/netsuite/errors.rb
netsuite-0.3.2 lib/netsuite/errors.rb
netsuite-0.3.1 lib/netsuite/errors.rb
netsuite-0.3.0 lib/netsuite/errors.rb
netsuite-0.2.6 lib/netsuite/errors.rb
netsuite-0.2.5 lib/netsuite/errors.rb
netsuite-0.2.4 lib/netsuite/errors.rb
netsuite-0.2.3 lib/netsuite/errors.rb
netsuite-0.2.2 lib/netsuite/errors.rb
netsuite-0.2.1 lib/netsuite/errors.rb