Skip to content

Align with basic-cli: Http.send returns Result#113

Merged
Anton-4 merged 3 commits intoroc-lang:mainfrom
niclas-ahden:http-align-with-basic-cli
Apr 4, 2025
Merged

Align with basic-cli: Http.send returns Result#113
Anton-4 merged 3 commits intoroc-lang:mainfrom
niclas-ahden:http-align-with-basic-cli

Conversation

@niclas-ahden
Copy link
Contributor

See: roc-lang/basic-cli#309

This is a breaking change.

niclas-ahden and others added 3 commits April 4, 2025 13:27
`Http.get_utf8!` can now fail with an `HttpErr` during its request or
`BadBody` when decoding the response. We consolidate them into
`FetchErr Str` for this example; in line with the other functions here.
Copy link
Collaborator

@Anton-4 Anton-4 left a comment

Choose a reason for hiding this comment

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

Thanks @niclas-ahden!

@Anton-4 Anton-4 merged commit f48393a into roc-lang:main Apr 4, 2025
7 checks passed
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