lib/netsuite/errors.rb in netsuite-0.8.3 vs lib/netsuite/errors.rb in netsuite-0.8.4
- old
+ new
@@ -1,9 +1,10 @@
module NetSuite
class RecordNotFound < StandardError; end
class InitializationError < StandardError; end
class ConfigurationError < StandardError; end
+ # NOTE not an exception, used as a wrapped around NetSuite SOAP error
class Error
attr_accessor :type, :code, :message
def initialize(args = {})
@type = args[:@type]