(root: Root, message: string, beforeExit?: () => Promise<void>)
| 68 | * through the React tree instead. |
| 69 | */ |
| 70 | export async function exitWithError(root: Root, message: string, beforeExit?: () => Promise<void>): Promise<never> { |
| 71 | return exitWithMessage(root, message, { color: 'error', beforeExit }); |
| 72 | } |
| 73 | |
| 74 | /** |
| 75 | * Render a message through Ink, then unmount and exit. |
nothing calls this directly
no test coverage detected