(value: { message: string; code?: string })
| 163 | } |
| 164 | |
| 165 | function deserializeError(value: { message: string; code?: string }): Error { |
| 166 | const error = new Error(value.message); |
| 167 | if (value.code) (error as NodeJS.ErrnoException).code = value.code; |
| 168 | return error; |
| 169 | } |
no outgoing calls
no test coverage detected