mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
16 lines
1.8 KiB
Plaintext
16 lines
1.8 KiB
Plaintext
---
|
|
title: "ErrorEvent"
|
|
---
|
|
|
|
Event emitted when an error occurs during streaming
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
|
|
| `code` | *Nullable[str]* | :heavy_check_mark: | N/A |
|
|
| `message` | *str* | :heavy_check_mark: | N/A |
|
|
| `param` | *Nullable[str]* | :heavy_check_mark: | N/A |
|
|
| `sequence_number` | *int* | :heavy_check_mark: | N/A |
|
|
| `type` | [components.ErrorEventType](../components/erroreventtype.mdx) | :heavy_check_mark: | N/A | |