(text: string, code = ErrorCodes.UserError)
| 50 | } |
| 51 | |
| 52 | export function createUserError(text: string, code = ErrorCodes.UserError): Dap.Error { |
| 53 | return { |
| 54 | __errorMarker: true, |
| 55 | error: { |
| 56 | id: code, |
| 57 | format: text, |
| 58 | showUser: true, |
| 59 | }, |
| 60 | }; |
| 61 | } |
| 62 | |
| 63 | export const nvmNotFound = () => |
| 64 | createUserError( |
no outgoing calls
no test coverage detected