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: README.md
+2-181Lines changed: 2 additions & 181 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,189 +96,10 @@ const client = new UnstructuredClient({
96
96
97
97
98
98
<!-- No SDK Example Usage -->
99
-
100
99
<!-- No SDK Available Operations -->
101
-
102
100
<!-- No Pagination -->
103
-
104
-
105
-
106
-
<!-- Start Error Handling -->
107
-
# Error Handling
108
-
109
-
Handling errors in your SDK should largely match your expectations. All operations return a response object or throw an error. If Error objects are specified in your OpenAPI Spec, the SDK will throw the appropriate Error type.
You can override the default server globally by passing a server name to the `server: string` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the names associated with the available servers:
175
-
176
-
| Name | Server | Variables |
177
-
| ----- | ------ | --------- |
178
-
| `prod` | `https://api.unstructured.io` | None |
179
-
|`local`|`http://localhost:8000`|None|
180
-
181
-
Forexample:
182
-
183
-
184
-
```typescript
185
-
import { UnstructuredClient } from "unstructured-client";
0 commit comments