From 8deebe2af36bff9d4914d46868c84f905922f7ce Mon Sep 17 00:00:00 2001 From: Mika Marttila Date: Fri, 8 Mar 2019 12:17:24 +0200 Subject: [PATCH] Adds link to SuiteAnswers documentation that lists possible Response error codes --- lib/netsuite/response.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/netsuite/response.rb b/lib/netsuite/response.rb index 00496139d..5927ba2ad 100644 --- a/lib/netsuite/response.rb +++ b/lib/netsuite/response.rb @@ -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]