Exception: NetsuiteApi::Concerns::ResponseHandler::NetSuiteApiError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/netsuite_api/concerns/response_handler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, title, details) ⇒ NetSuiteApiError

Returns a new instance of NetSuiteApiError.



6
7
8
9
10
# File 'lib/netsuite_api/concerns/response_handler.rb', line 6

def initialize(msg, title, details)
  @title = title
  @details = details
  super(msg)
end

Instance Attribute Details

#detailsObject (readonly)

Returns the value of attribute details.



5
6
7
# File 'lib/netsuite_api/concerns/response_handler.rb', line 5

def details
  @details
end

#titleObject (readonly)

Returns the value of attribute title.



5
6
7
# File 'lib/netsuite_api/concerns/response_handler.rb', line 5

def title
  @title
end