(err: any)
| 26 | * more details. |
| 27 | */ |
| 28 | export function isErrnoException(err: any): err is IErrnoException { |
| 29 | return ( |
| 30 | err instanceof Error && |
| 31 | typeof (err as any).code === 'string' && |
| 32 | typeof (err as any).syscall === 'string' |
| 33 | ) |
| 34 | } |
no outgoing calls
no test coverage detected