(errors: Error[])
| 589 | } |
| 590 | |
| 591 | function getExternalErrorsMessageAndStack(errors: Error[]): string { |
| 592 | const result = errors |
| 593 | .map(e => { |
| 594 | const msg = getExternalErrorMessage(e); |
| 595 | const stack = e.stack || ''; |
| 596 | return `${msg}\n${stack}\n`; |
| 597 | }) |
| 598 | .join('~~~~~~~~~~~~~\n'); |
| 599 | return result; |
| 600 | } |
| 601 | |
| 602 | /** |
| 603 | * if err.userError is set, it inherits from AbstractError, which are user errors not Bit errors |
no test coverage detected