(text: string, code = ErrorCodes.SilentError)
| 39 | } |
| 40 | |
| 41 | export function createSilentError(text: string, code = ErrorCodes.SilentError): Dap.Error { |
| 42 | return { |
| 43 | __errorMarker: true, |
| 44 | error: { |
| 45 | id: code, |
| 46 | format: text, |
| 47 | showUser: false, |
| 48 | }, |
| 49 | }; |
| 50 | } |
| 51 | |
| 52 | export function createUserError(text: string, code = ErrorCodes.UserError): Dap.Error { |
| 53 | return { |
no outgoing calls
no test coverage detected