Skip to content

feat(condition): Add MetaErr Inspector#217

Merged
jshlbrd merged 2 commits intomainfrom
jshlbrd/feat/cnd-meta-err
Jul 26, 2024
Merged

feat(condition): Add MetaErr Inspector#217
jshlbrd merged 2 commits intomainfrom
jshlbrd/feat/cnd-meta-err

Conversation

@jshlbrd
Copy link
Contributor

@jshlbrd jshlbrd commented Jul 26, 2024

Description

  • Adds a new inspector to the condition package to catch errors from other inspectors

Motivation and Context

This came up while testing #215 in a production data pipeline. This is functionally equivalent to the MetaErr transform function. You can work around this problem with existing conditions and transforms (MetaSwitch, UtilityDrop, etc.), but this is a shortcut to getting the same functionality.

How Has This Been Tested?

Added unit tests for:

  • Catching all errors
  • Catching specific errors
  • No errors

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@jshlbrd jshlbrd marked this pull request as ready for review July 26, 2024 18:08
@jshlbrd jshlbrd requested a review from a team as a code owner July 26, 2024 18:08
@jshlbrd jshlbrd merged commit b9c685e into main Jul 26, 2024
@jshlbrd jshlbrd deleted the jshlbrd/feat/cnd-meta-err branch July 26, 2024 18:48
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.

2 participants