(options?: ErrorOptions)
| 1139 | |
| 1140 | /** @internal */ |
| 1141 | export const errorFromJsonError = (options?: ErrorOptions): Transformation<Error, JsonError> => |
| 1142 | transform({ |
| 1143 | decode: decodeJsonError, |
| 1144 | encode: (input) => makeEncodeDefect(options)(input) as JsonError |
| 1145 | }) |
| 1146 | |
| 1147 | /** @internal */ |
| 1148 | export const defectFromJson = (options?: ErrorOptions) => |
nothing calls this directly
no test coverage detected