(route: string, input: string, message: string)
| 95 | }) |
| 96 | |
| 97 | export const parseJson = (route: string, input: string, message: string) => |
| 98 | Effect.try({ |
| 99 | try: () => decodeJson(input), |
| 100 | catch: () => eventError(route, message, input), |
| 101 | }) |
| 102 | |
| 103 | /** |
| 104 | * Join the `text` field of a list of parts with newlines. Used by routes |
no test coverage detected