QuickBooks-V3-Java-SDK icon indicating copy to clipboard operation
QuickBooks-V3-Java-SDK copied to clipboard

Validation fault fix

Open lamflam opened this issue 3 years ago • 0 comments

I recently got a validation error from the API that was coming through as a generic FSMException. After digging in I realized that fault.getType() has ValidationFault, not Validation which meant it missed this case in the error mapping and bubbled up as a generic unknown exception. This PR just adds the case to handle it as a ValidationException.

lamflam avatar Sep 20 '22 15:09 lamflam