(err: any)
| 234 | } |
| 235 | |
| 236 | function castToError(err: any): Error { |
| 237 | if (err instanceof Error) return err; |
| 238 | return new Error(err); |
| 239 | } |
| 240 | |
| 241 | type ShouldRetryResult = |
| 242 | | { |
no outgoing calls
no test coverage detected
searching dependent graphs…