(reason?: string)
| 118 | * Create an aborted prompt result. |
| 119 | */ |
| 120 | export function promptAborted(reason?: string): PromptAborted { |
| 121 | return { |
| 122 | aborted: true, |
| 123 | ...(reason !== undefined && { reason }), |
| 124 | } |
| 125 | } |
| 126 | |
| 127 | /** |
| 128 | * Standard error message for aborted requests. |
no outgoing calls