()
| 12 | } |
| 13 | |
| 14 | toJSON() { |
| 15 | return { |
| 16 | error: { |
| 17 | code: this.exitCode, |
| 18 | message: this.message, |
| 19 | ...(this.hint ? { hint: this.hint } : {}), |
| 20 | }, |
| 21 | }; |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | export class SDKError extends CLIError { |
no outgoing calls
no test coverage detected