errors
StudioCMSCoreError
'Read the “', StudioCMSCoreError, '” section'Defined in: studiocms/packages/studiocms/src/errors.ts:19
Represents an error specific to the core functionality of StudioCMS.
This class extends the StudioCMSError
class and overrides the name
property
to provide a more specific error name.
Constructors
'Read the “', Constructors, '” section'new StudioCMSCoreError()
'Read the “', new StudioCMSCoreError(), '” section'new StudioCMSCoreError(message: string, hint?: string): StudioCMSCoreError
Defined in: node_modules/.pnpm/[email protected]_@[email protected]_jiti@[email protected]_typescript@[email protected]/node_modules/astro/dist/core/errors/errors.d.ts:101
Parameters
'Read the “', Parameters, '” section'string
string
Inherited from
'Read the “', Inherited from, '” section'Properties
'Read the “', Properties, '” section'optional cause: unknown;
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2022.error.d.ts:26
Inherited from
'Read the “', Inherited from, '” section'hint: undefined | string;
Defined in: node_modules/.pnpm/[email protected]_@[email protected]_jiti@[email protected]_typescript@[email protected]/node_modules/astro/dist/core/errors/errors.d.ts:99
A message that explains to the user how they can fix the error.
Inherited from
'Read the “', Inherited from, '” section'message: string;
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1077
Inherited from
'Read the “', Inherited from, '” section'name: string = 'StudioCMS Core Error';
Defined in: studiocms/packages/studiocms/src/errors.ts:20
Overrides
'Read the “', Overrides, '” section'optional stack: string;
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1078
Inherited from
'Read the “', Inherited from, '” section'type: ErrorTypes;
Defined in: node_modules/.pnpm/[email protected]_@[email protected]_jiti@[email protected]_typescript@[email protected]/node_modules/astro/dist/core/errors/errors.d.ts:95
Inherited from
'Read the “', Inherited from, '” section'prepareStackTrace()?
'Read the “', prepareStackTrace()?, '” section'static optional prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any;
Defined in: node_modules/.pnpm/@[email protected]/node_modules/@types/node/globals.d.ts:98
Optional override for formatting stack traces
Parameters
'Read the “', Parameters, '” section'Error
stackTraces
'Read the “', stackTraces, '” section'CallSite
[]
any
https://v8.dev/docs/stack-trace-api#customizing-stack-traces^
Inherited from
'Read the “', Inherited from, '” section'StudioCMSError
.prepareStackTrace
stackTraceLimit
'Read the “', stackTraceLimit, '” section'static stackTraceLimit: number;
Defined in: node_modules/.pnpm/@[email protected]/node_modules/@types/node/globals.d.ts:100
Inherited from
'Read the “', Inherited from, '” section'StudioCMSError
.stackTraceLimit
captureStackTrace()
'Read the “', captureStackTrace(), '” section'Call Signature
'Read the “', Call Signature, '” section'static captureStackTrace(targetObject: object, constructorOpt?: Function): void
Defined in: node_modules/.pnpm/@[email protected]/node_modules/@types/node/globals.d.ts:91
Create .stack property on a target object
Parameters
'Read the “', Parameters, '” section'targetObject
'Read the “', targetObject, '” section'object
constructorOpt?
'Read the “', constructorOpt?, '” section'Function
void
Inherited from
'Read the “', Inherited from, '” section'StudioCMSError
.captureStackTrace
Call Signature
'Read the “', Call Signature, '” section'static captureStackTrace(targetObject: object, constructorOpt?: Function): void
Defined in: node_modules/.pnpm/@[email protected]/node_modules/@types/node/globals.d.ts:136
Create .stack property on a target object
Parameters
'Read the “', Parameters, '” section'targetObject
'Read the “', targetObject, '” section'object
constructorOpt?
'Read the “', constructorOpt?, '” section'Function
void
Inherited from
'Read the “', Inherited from, '” section'StudioCMSError
.captureStackTrace
static is(err: unknown): err is AstroUserError
Defined in: node_modules/.pnpm/[email protected]_@[email protected]_jiti@[email protected]_typescript@[email protected]/node_modules/astro/dist/core/errors/errors.d.ts:102
Parameters
'Read the “', Parameters, '” section'unknown
err is AstroUserError
Inherited from
'Read the “', Inherited from, '” section'StudioCMSError
'Read the “', StudioCMSError, '” section'Defined in: studiocms/packages/studiocms/src/errors.ts:10
Represents an error specific to the StudioCMS SDK.
This class extends the AstroError
class to provide additional context
and functionality for errors occurring within the StudioCMS SDK.
AstroUserError
Extended by
'Read the “', Extended by, '” section'Constructors
'Read the “', Constructors, '” section'new StudioCMSError()
'Read the “', new StudioCMSError(), '” section'new StudioCMSError(message: string, hint?: string): StudioCMSError
Defined in: node_modules/.pnpm/[email protected]_@[email protected]_jiti@[email protected]_typescript@[email protected]/node_modules/astro/dist/core/errors/errors.d.ts:101
Parameters
'Read the “', Parameters, '” section'string
string
Inherited from
'Read the “', Inherited from, '” section'AstroError.constructor
Properties
'Read the “', Properties, '” section'optional cause: unknown;
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2022.error.d.ts:26
Inherited from
'Read the “', Inherited from, '” section'AstroError.cause
hint: undefined | string;
Defined in: node_modules/.pnpm/[email protected]_@[email protected]_jiti@[email protected]_typescript@[email protected]/node_modules/astro/dist/core/errors/errors.d.ts:99
A message that explains to the user how they can fix the error.
Inherited from
'Read the “', Inherited from, '” section'AstroError.hint
message: string;
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1077
Inherited from
'Read the “', Inherited from, '” section'AstroError.message
name: string = 'StudioCMS Error';
Defined in: studiocms/packages/studiocms/src/errors.ts:11
Overrides
'Read the “', Overrides, '” section'AstroError.name
optional stack: string;
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1078
Inherited from
'Read the “', Inherited from, '” section'AstroError.stack
type: ErrorTypes;
Defined in: node_modules/.pnpm/[email protected]_@[email protected]_jiti@[email protected]_typescript@[email protected]/node_modules/astro/dist/core/errors/errors.d.ts:95
Inherited from
'Read the “', Inherited from, '” section'AstroError.type
prepareStackTrace()?
'Read the “', prepareStackTrace()?, '” section'static optional prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any;
Defined in: node_modules/.pnpm/@[email protected]/node_modules/@types/node/globals.d.ts:98
Optional override for formatting stack traces
Parameters
'Read the “', Parameters, '” section'Error
stackTraces
'Read the “', stackTraces, '” section'CallSite
[]
any
https://v8.dev/docs/stack-trace-api#customizing-stack-traces^
Inherited from
'Read the “', Inherited from, '” section'AstroError.prepareStackTrace
stackTraceLimit
'Read the “', stackTraceLimit, '” section'static stackTraceLimit: number;
Defined in: node_modules/.pnpm/@[email protected]/node_modules/@types/node/globals.d.ts:100
Inherited from
'Read the “', Inherited from, '” section'AstroError.stackTraceLimit
captureStackTrace()
'Read the “', captureStackTrace(), '” section'Call Signature
'Read the “', Call Signature, '” section'static captureStackTrace(targetObject: object, constructorOpt?: Function): void
Defined in: node_modules/.pnpm/@[email protected]/node_modules/@types/node/globals.d.ts:91
Create .stack property on a target object
Parameters
'Read the “', Parameters, '” section'targetObject
'Read the “', targetObject, '” section'object
constructorOpt?
'Read the “', constructorOpt?, '” section'Function
void
Inherited from
'Read the “', Inherited from, '” section'AstroError.captureStackTrace
Call Signature
'Read the “', Call Signature, '” section'static captureStackTrace(targetObject: object, constructorOpt?: Function): void
Defined in: node_modules/.pnpm/@[email protected]/node_modules/@types/node/globals.d.ts:136
Create .stack property on a target object
Parameters
'Read the “', Parameters, '” section'targetObject
'Read the “', targetObject, '” section'object
constructorOpt?
'Read the “', constructorOpt?, '” section'Function
void
Inherited from
'Read the “', Inherited from, '” section'AstroError.captureStackTrace
static is(err: unknown): err is AstroUserError
Defined in: node_modules/.pnpm/[email protected]_@[email protected]_jiti@[email protected]_typescript@[email protected]/node_modules/astro/dist/core/errors/errors.d.ts:102
Parameters
'Read the “', Parameters, '” section'unknown
err is AstroUserError
Inherited from
'Read the “', Inherited from, '” section'AstroError.is