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]