Skip to content

Conversation

@05nelsonm
Copy link
Owner

@05nelsonm 05nelsonm commented Dec 10, 2025

This PR removes the @Throws annotation on encodeToString and encodeToCharArray, shifting responsibility of a try/catch block to the caller for the Encoder they are using which might be configured to reject something.

Additionally, it improves the documentation in :core extension functions, particularly around exception throwing.

@05nelsonm 05nelsonm self-assigned this Dec 10, 2025
Copy link
Owner Author

@05nelsonm 05nelsonm left a comment

Choose a reason for hiding this comment

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

.

@05nelsonm 05nelsonm changed the title Documentation improvements Remove checked EncodingException Dec 10, 2025
@05nelsonm 05nelsonm changed the title Remove checked EncodingException Remove checked EncodingException from encode extension functions Dec 10, 2025
@05nelsonm 05nelsonm merged commit 3bd4bb8 into master Dec 10, 2025
12 checks passed
@05nelsonm 05nelsonm deleted the documentation/improve-throws branch December 10, 2025 10:43
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