Skip to content

Include error code in OnIdentificationFailed event#224

Merged
tudddorrr merged 1 commit into
developfrom
identification-failed-errorcode
Jul 4, 2026
Merged

Include error code in OnIdentificationFailed event#224
tudddorrr merged 1 commit into
developfrom
identification-failed-errorcode

Conversation

@tudddorrr

@tudddorrr tudddorrr commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Exception type separation

  • Non-auth API errors now throw RequestException instead of PlayerAuthException, so auth-specific errors are only raised on auth endpoints

Granular identification errors

  • New IdentifyException with enum codes IDENTIFIER_PROFANITY and IDENTIFIER_TAKEN lets game code react to specific failure reasons instead of catching a generic exception

Identification failure event enriched

  • OnIdentificationFailed now passes IdentifyException to subscribers, allowing callers to inspect error details (e.g. profanity/content filtering) rather than getting a bare notification

@tudddorrr tudddorrr added the breaking This pull request contains a breaking change label Jul 4, 2026
@tudddorrr
tudddorrr force-pushed the identification-failed-errorcode branch from 761693f to b008629 Compare July 4, 2026 13:07
@tudddorrr
tudddorrr merged commit fbe4f61 into develop Jul 4, 2026
3 checks passed
@tudddorrr
tudddorrr deleted the identification-failed-errorcode branch July 4, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking This pull request contains a breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant