()
| 5 | */ |
| 6 | export class MissingTokenError extends Error { |
| 7 | constructor() { |
| 8 | super( |
| 9 | `Missing authentication token.\n\n` + |
| 10 | `Provide a token using one of these methods:\n` + |
| 11 | ` --token <token> Pass token as command-line argument\n` + |
| 12 | ` ${DEEPNOTE_TOKEN_ENV}=<token> Set environment variable\n\n` + |
| 13 | `Get your API token from: https://deepnote.com/workspace/settings/api-tokens` |
| 14 | ) |
| 15 | this.name = 'MissingTokenError' |
| 16 | } |
| 17 | } |
nothing calls this directly
no outgoing calls
no test coverage detected