Skip to content

Commit 8544ec9

Browse files
committed
requested changes
1 parent ca4bf91 commit 8544ec9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/docs/manual/latest/exception.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ canonical: "/docs/manual/latest/exception"
66

77
# Exception
88

9-
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.
1010

1111
You can create your own exceptions like you'd make a variant (exceptions need to be capitalized too).
1212

@@ -136,7 +136,7 @@ if (exit === 1) {
136136

137137
### `Invalid_argument`
138138

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
140140

141141
<CodeTab labels={["ReScript", "JS Output"]}>
142142
```res example

0 commit comments

Comments
 (0)