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
This exception will have the following properties. See the [Foundry API docs](https://www.palantir.com/docs/foundry/api/general/overview/errors) for details about the Foundry error information.
238
+
All HTTP exceptions will have the following properties. See the [Foundry API docs](https://www.palantir.com/docs/foundry/api/general/overview/errors) for details about the Foundry error information.
| name | str | The Palantir error name. See the [Foundry API docs](https://www.palantir.com/docs/foundry/api/general/overview/errors). |
223
243
| error_instance_id | str | The Palantir error instance ID. See the [Foundry API docs](https://www.palantir.com/docs/foundry/api/general/overview/errors). |
224
244
| parameters | Dict[str, Any]| The Palantir error parameters. See the [Foundry API docs](https://www.palantir.com/docs/foundry/api/general/overview/errors). |
225
245
246
+
### Other exceptions
247
+
There are a handful of other exception classes that could be thrown when instantiating or using a client.
| NotAuthenticated | Yes | You used either `ConfidentialClientAuth` or `PublicClientAuth` to make an API call without going through the OAuth process first. |
252
+
| ConnectionError | Yes | An issue occurred when connecting to the server. This also catches both `ProxyError` and `SSLError`. |
253
+
| ProxyError | Yes | An issue occurred when connecting to or authenticating with a proxy server. |
254
+
| SSLError | Yes | An SSL error occurred when connecting to the server. |
255
+
| TimeoutError | No | The request timed out. This catches both `ConnectTimeout` and `ReadTimeout`. |
256
+
| ConnectTimeout | Yes | The request timed out when attempting to connect to the server. |
257
+
| ReadTimeout | Yes | The server did not send any data in the allotted amount of time. |
258
+
| StreamConsumedError | Yes | The content of the given stream has already been consumed. |
259
+
| SDKInternalError | Yes | An unexpected issue occurred and should be reported. |
226
260
227
261
<aid="pagination"></a>
228
262
## Pagination
@@ -251,26 +285,20 @@ while page.next_page_token:
251
285
252
286
<aid="binary-streaming"></a>
253
287
## Streaming
254
-
This SDK supports optionally streaming binary data using a flag in the method definition.
288
+
This SDK supports streaming binary data using a separate streaming client accessible under
289
+
`with_streaming_response` on each Resource. To ensure the stream is closed, you need to use a context
[[Back to Model list]](../../../../README.md#models-v1-link)[[Back to API list]](../../../../README.md#apis-v1-link)[[Back to README]](../../../../README.md)
[[Back to Model list]](../../../../README.md#models-v2-link)[[Back to API list]](../../../../README.md#apis-v2-link)[[Back to README]](../../../../README.md)
Copy file name to clipboardExpand all lines: docs/v2/ontologies/models/SearchOrderByV2Dict.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,11 @@
1
1
# SearchOrderByV2Dict
2
2
3
-
Specifies the ordering of search results by a field and an ordering direction.
3
+
Specifies the ordering of search results by a field and an ordering direction or by relevance if scores are required in a nearestNeighbors query. By default `orderType` is set to `fields`.
0 commit comments