File tree Expand file tree Collapse file tree
driver/src/main/java/uniresolver/driver/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ public static int httpStatusCodeForResult(Result result) {
4444 return HttpStatus .SC_NOT_FOUND ;
4545 else if (ResolutionException .ERROR_INVALID_DID .equals (result .getErrorType ()) || DereferencingException .ERROR_INVALID_DID_URL .equals (result .getErrorType ()))
4646 return HttpStatus .SC_BAD_REQUEST ;
47+ else if (ResolutionException .ERROR_INVALID_OPTIONS .equals (result .getErrorType ()))
48+ return HttpStatus .SC_BAD_REQUEST ;
4749 else if (ResolutionException .ERROR_REPRESENTATION_NOT_SUPPORTED .equals (result .getErrorType ()) || DereferencingException .ERROR_REPRESENTATION_NOT_SUPPORTED .equals (result .getErrorType ()))
4850 return HttpStatus .SC_NOT_ACCEPTABLE ;
4951 else if (ResolutionException .ERROR_METHOD_NOT_SUPPORTED .equals (result .getErrorType ()))
You can’t perform that action at this time.
0 commit comments