(message: string)
| 57 | } |
| 58 | |
| 59 | export function diagnosticsFromErrorMessage(message: string): BasicDiagnostics { |
| 60 | return createBasicDiagnostics({ |
| 61 | errors: [isNonEmptyText(message) ? message : 'Unknown error'], |
| 62 | }); |
| 63 | } |
| 64 | |
| 65 | export function diagnosticsFromCommandFailure( |
| 66 | response: CommandFailureDiagnosticInput, |
no test coverage detected