MCPcopy Create free account
hub / github.com/deepnote/deepnote / constructor

Method constructor

packages/cli/src/utils/auth.ts:7–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5 */
6export 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected