Skip to content
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

Add IOException constructor(message: Throwable?) #271

Closed
martinkretzschmar opened this issue Feb 26, 2024 · 0 comments · Fixed by #276
Closed

Add IOException constructor(message: Throwable?) #271

martinkretzschmar opened this issue Feb 26, 2024 · 0 comments · Fixed by #276

Comments

@martinkretzschmar
Copy link

IOException lacks the secondary constructor public constructor(message: Throwable?). The standard exceptions in the Kotlin stdlib and java.io.IOException (= the JVM actual) all have this constructor.

Would it be possible to add it?

Background: this would let us mechanically (without special casing this constructor) replace java.io.IOException with kotlinx.io.IOException as we migrate our codebase to KMP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants