failwith/failwithf are a useful operators, but they only raise exceptions of type SystemException. Here's a simple way to generalize them.
2 people like thisPosted: 12 years ago by Eirik Tsarpalis
Works with F# 4.0 and above
7 people like thisPosted: 8 years ago by Eirik Tsarpalis