Exception: NetsuiteApi::Concerns::ResponseHandler::NetSuiteApiError
- Inherits:
-
StandardError
- Object
- StandardError
- NetsuiteApi::Concerns::ResponseHandler::NetSuiteApiError
- Defined in:
- lib/netsuite_api/concerns/response_handler.rb
Instance Attribute Summary collapse
-
#details ⇒ Object
readonly
Returns the value of attribute details.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(msg, title, details) ⇒ NetSuiteApiError
constructor
A new instance of NetSuiteApiError.
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
#details ⇒ Object (readonly)
Returns the value of attribute details.
5 6 7 |
# File 'lib/netsuite_api/concerns/response_handler.rb', line 5 def details @details end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
5 6 7 |
# File 'lib/netsuite_api/concerns/response_handler.rb', line 5 def title @title end |