Skip to content

Add exceptions for documented VuMark error result codes - #3095

Closed
adamtheturtle wants to merge 1 commit into
mainfrom
adamtheturtle/issue-3090-vumark-error-codes
Closed

adamtheturtle wants to merge 1 commit into
mainfrom
adamtheturtle/issue-3090-vumark-error-codes

Conversation

@adamtheturtle

Copy link
Copy Markdown
Member

Summary

  • Adds QuotaExceededError, LicenseCheckFailedError, and AuthorizationFailedError for the VuMark Generation API result codes documented by Vuforia.
  • Registers them in VWSError.from_result_code so sync/async VuMark clients raise stable exceptions instead of KeyError.
  • Adds tests covering all three codes for both VuMarkService and AsyncVuMarkService.

Closes #3090.

Test plan

  • pytest for the new sync and async parametrized tests
  • CI green on this PR

Made with Cursor

Map QuotaExceeded, LicenseCheckFailed, and AuthorizationFailed to
public exceptions so VuMark clients no longer raise KeyError.
Closes #3090.

Co-authored-by: Cursor <cursoragent@cursor.com>

This branch was previously deployed

1 inactive deployment
development — 0434a1b9 Deployed Jul 17, 2026 by adamtheturtle via pages #827
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documented VuMark error codes raise KeyError

1 participant