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
Copy file name to clipboardExpand all lines: docs/features/core/exceptions.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,9 @@ title: Error Handling
6
6
7
7
For server-based models, Outlines provides a common exception hierarchy under `OutlinesError`.
8
8
9
-
For local models, native runtime exceptions are preserved (see list of local and server-based models at [Model Types](../models/index.md#model-types)).
9
+
For local models, native runtime exceptions are preserved (see the list of local and server-based models at [Model Types](../models/index.md#model-types)).
10
10
11
-
Exceptions normalization covers both sync and async modes, and both `generate` and `generate_stream()` (or equivalent) methods.
11
+
Exception normalization covers both sync and async modes, and both `generate` and `generate_stream()` (or equivalent) methods.
12
12
13
13
## Exception Hierarchy
14
14
@@ -46,7 +46,7 @@ OutlinesError
46
46
47
47
## Usage
48
48
49
-
Normalized `APIError` subclasses are raised by Outlines model wrappers; if you call a provider SDK directly, you should expect provider-native exceptions instead.
49
+
Normalized `APIError` subclasses are raised by Outlines model wrappers. If you call a provider SDK directly, expect provider-native exceptions instead.
0 commit comments