(exit: Exit.Exit<unknown, unknown>, fallback: string)
| 60 | }); |
| 61 | |
| 62 | export const messageFromExit = (exit: Exit.Exit<unknown, unknown>, fallback: string): string => |
| 63 | Option.match(Option.flatMap(Exit.findErrorOption(exit), decodeErrorMessage), { |
| 64 | onNone: () => fallback, |
| 65 | onSome: ({ message }) => message, |
| 66 | }); |
| 67 | |
| 68 | export const reportExitFailure = ( |
| 69 | report: FrontendErrorReporter, |
no outgoing calls
no test coverage detected