Skip to content

Type constraint mismatch when reraising a caught exception in a task CE #14482

Answered by baronfel
adam-c-anderson asked this question in Q&A
Discussion options

You must be logged in to vote

All you should have to do here is return the raise ex expression. raise (like throw, failwith and others), returns a generic type so that it can be used in situations like this, you just always have to return something out of a CE context.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@adam-c-anderson
Comment options

Answer selected by adam-c-anderson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants