Skip to content

Conversation

@divarvel
Copy link
Contributor

  • use the args field in exceptions to carry data
  • provide structured data for authorization exceptions (data about failed checks and policies)

@divarvel divarvel force-pushed the push-zmrmwqvtonus branch from 84bf3dc to 76e8b85 Compare April 28, 2025 12:37
@divarvel divarvel force-pushed the push-zmrmwqvtonus branch from 76e8b85 to 22bbbcc Compare April 28, 2025 12:39
not just the policy id. this makes the API easier to understand (in many cases, the first policy is matched, so the return value is `0`, which is falsy)
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.

3 participants