(message = 'Aborted')
| 1 | export function abortError(message = 'Aborted'): Error { |
| 2 | const error = new Error(message); |
| 3 | error.name = 'AbortError'; |
| 4 | return error; |
| 5 | } |
| 6 | |
| 7 | /** |
| 8 | * Marks an abort the user triggered deliberately (e.g. pressing ESC to |
no outgoing calls
no test coverage detected