-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Labels
pythonPull requests that update python codePull requests that update python coderefactoringRequest/suggest a refactoring of a code portionRequest/suggest a refactoring of a code portionsdkActivity related to SDKsActivity related to SDKs
Milestone
Description
Refactor existing error policy enums to align with hierarchical error handling.
Tasks:
- Create a new
SessionLevelErrorPolicywhich mapsOnErrorPolicy.- Keep existing enum values (
DELETE,REPORT). - Maintain backward compatibility and document impact.
- Keep existing enum values (
- define
OnErrorPolicydeprecated (ensures backward-compatibility):from typing_extensions import deprecated @deprecated( "OnErrorPolicy is deprecated since v0.3.0; use SessionLevelErrorPolicy instead. " "It will be removed in v0.4.0." ) class OnErrorPolicy(Enum): ...
- Implement new enum
TopicLevelErrorPolicywith values:FINALIZE(default)IGNORERAISE
- Ensure
TopicLevelErrorPolicyis accessible via the public SDK API. - Write exhaustive class and enum values documentation (see current
OnErrorPolicydocsrtrings)
This must complete Acceptance Criteria 1 & 2. (issue #214 )
Pull Requests must be targeted to release/0.3.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
pythonPull requests that update python codePull requests that update python coderefactoringRequest/suggest a refactoring of a code portionRequest/suggest a refactoring of a code portionsdkActivity related to SDKsActivity related to SDKs