You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exceptions are just a special kind of variant, thrown in **exceptional** cases (don't abuse them!). Consider using the `option` or `result` type for recoverable errors.
9
+
Exceptions are just a special kind of variant, thrown in **exceptional** cases (don't abuse them!). Consider using the [`option`](null-undefined-option.mdx) or `result` type for recoverable errors.
10
10
11
11
You can create your own exceptions like you'd make a variant (exceptions need to be capitalized too).
12
12
@@ -136,7 +136,7 @@ if (exit === 1) {
136
136
137
137
### `Invalid_argument`
138
138
139
-
Used to check if argument is valid. This exception take a string
139
+
Used to check if argument is valid. This exception takes a string
0 commit comments