Skip to content

enhance error handling and add WarpThirdComponent for third component injecting #76

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 26, 2025

Conversation

Degfy
Copy link
Member

@Degfy Degfy commented May 26, 2025

  • Rename experimental.go to func_provider.go
  • Update FunctionProvider type definition
  • Add WarpThirdComponent function for wrapping third-party components
  • Rename experimental_test.go to func_provider_test.go
  • Add unit test for WarpThirdComponent
  • Add withMessage struct to handle errors with additional messages
  • Implement Unwrap method for iError and withMessage types
  • Introduce newIError function for creating iError instances
  • Update ToError function to use newIError
  • Add support for custom error messages in tests

dapeng added 2 commits May 26, 2025 16:33
- Rename experimental.go to func_provider.go
- Update FunctionProvider type definition
- Add WarpThirdComponent function for wrapping third-party components
- Rename experimental_test.go to func_provider_test.go
- Add unit test for WarpThirdComponent
- Add withMessage struct to handle errors with additional messages
- Implement Unwrap method for iError and withMessage types
- Introduce newIError function for creating iError instances
- Update ToError function to use newIError
- Add support for custom error messages in tests
@Degfy Degfy added this to gone plan May 26, 2025
@Degfy Degfy merged commit a5bdfc2 into main May 26, 2025
3 checks passed
@Degfy Degfy deleted the feature/update branch May 26, 2025 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant