Skip to content

GH-80 UseCases: Fix CancellationException handling and add tests #87

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 6 commits into from
Aug 22, 2024

Conversation

matejsemancik
Copy link
Member

Resolves #80

Syntey
Syntey previously approved these changes Aug 21, 2024
// do nothing - this is normal way of suspend function interruption
} catch (error: Throwable) {
UseCaseErrorHandler.globalOnErrorLogger(error)
useCaseConfig.onError.invoke(error)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
useCaseConfig.onError.invoke(error)
useCaseConfig.onError(error)

Copy link

1 Warning
⚠️ duplicate library name: resources_commonMain
3 Messages
📖 🔷 GH-80
📖 iosAppTests: Executed 1 test, with 0 failures (0 expected) in 0.002 (0.003) seconds
📖 iosAppUITests: Executed 1 test, with 0 failures (0 expected) in 9.685 (9.687) seconds

Generated by 🚫 Danger

@matejsemancik matejsemancik merged commit 9d6c610 into develop Aug 22, 2024
6 checks passed
@matejsemancik matejsemancik deleted the feature/matsem/GH-80-uc-improvements branch August 22, 2024 11:10
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.

CancellationExceptions are propagated to onError handler
2 participants