( error: Error | ErrorResponse, )
| 330 | }; |
| 331 | |
| 332 | export async function handleError( |
| 333 | error: Error | ErrorResponse, |
| 334 | ): Promise<{ message: string }> { |
| 335 | if (error instanceof Error) { |
| 336 | return { message: error.message }; |
| 337 | } else { |
| 338 | return { message: error.message }; |
| 339 | } |
| 340 | } |
| 341 | |
| 342 | export async function bulkUploadBookmarks( |
| 343 | prevState: ActionState | null, |
nothing calls this directly
no outgoing calls
no test coverage detected