Skip to content

feat: add structured policy block responses and handling - #1060

Draft
skurzyp-blockydevs wants to merge 1 commit into
mainfrom
feat/structured-policy-blocks-reponses-and-handling
Draft

feat: add structured policy block responses and handling#1060
skurzyp-blockydevs wants to merge 1 commit into
mainfrom
feat/structured-policy-blocks-reponses-and-handling

Conversation

@skurzyp-blockydevs

Copy link
Copy Markdown
Contributor
  • Introduced PolicyResultParser for structured policy block extraction.
  • Enhanced MaxRecipientsPolicy to throw PolicyBlockedError with details.
  • Added MaintenanceModePolicy example for demonstration.
  • Updated tests to validate structured policy block data parsing.

Description:

Related issue(s):

Fixes #936

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

- Introduced `PolicyResultParser` for structured policy block extraction.
- Enhanced `MaxRecipientsPolicy` to throw `PolicyBlockedError` with details.
- Added `MaintenanceModePolicy` example for demonstration.
- Updated tests to validate structured policy block data parsing.

Signed-off-by: skurzyp-blockydevs <stanislaw.kurzyp@blockydevs.com>
@skurzyp-blockydevs skurzyp-blockydevs self-assigned this Jul 30, 2026
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.

Feature request: structured policy-block errors

1 participant