vault backup: 2023-09-16 00:26:38
This commit is contained in:
@ -37,7 +37,7 @@ Exception : Division by zero
|
||||
Failwith is a function that take a string argument (the reason) and return the error. That way, we can raise an error into our code
|
||||
```Ocaml
|
||||
# failwith;;
|
||||
-: string -> a = <fun>
|
||||
-: string -> a' = <fun>
|
||||
|
||||
# failwith "oops";;
|
||||
Exception : Failwith "oops"
|
||||
|
Reference in New Issue
Block a user