Saved Bookmarks
| 1. |
What Is Failwith And Invalidarg In F#? |
|
Answer» In F#, you can THROW exceptions EXPLICITLY. You are allowed to throw custom exception. You can ALSO throw exceptions by using predefined methods of Exception like FAILWITH and InvalidArgs. In F#, you can throw exceptions explicitly. You are allowed to throw custom exception. You can also throw exceptions by using predefined methods of Exception like Failwith and InvalidArgs. |
|