Skip to content

Commit

Permalink
Adds link to SuiteAnswers documentation that lists possible Response …
Browse files Browse the repository at this point in the history
…error codes
  • Loading branch information
aom committed Mar 8, 2019
1 parent 113e2fc commit 8deebe2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/netsuite/response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def response_error_code
end

def raise_on_response_errors!
# NOTE: More error codes https://netsuite.custhelp.com/app/answers/detail/a_id/11613
case response_error_code
when 'INSUFFICIENT_PERMISSION'
raise NetSuite::PermissionError, status_detail[:message]
Expand Down

0 comments on commit 8deebe2

Please sign in to comment.