sdk/errors
StudioCMS_SDK_Error
'Read the “', StudioCMS_SDK_Error, '” section'Defined in: studiocms/packages/studiocms/src/sdk/errors.ts:10
Represents an error specific to the StudioCMS SDK.
This class extends the StudioCMSError
class to provide additional context
and functionality for errors occurring within the StudioCMS SDK.
Extended by
'Read the “', Extended by, '” section'Constructors
'Read the “', Constructors, '” section'new StudioCMS_SDK_Error()
'Read the “', new StudioCMS_SDK_Error(), '” section'new StudioCMS_SDK_Error(message: string, hint?: string): StudioCMS_SDK_Error
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 SDK Error';
Defined in: studiocms/packages/studiocms/src/sdk/errors.ts:11
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'StudioCMSCacheError
'Read the “', StudioCMSCacheError, '” section'Defined in: studiocms/packages/studiocms/src/sdk/errors.ts:21
Represents an error specific to the StudioCMS cache operations.
This class extends the StudioCMS_SDK_Error
to provide more context
about errors that occur within the caching mechanism of the StudioCMS.
Constructors
'Read the “', Constructors, '” section'new StudioCMSCacheError()
'Read the “', new StudioCMSCacheError(), '” section'new StudioCMSCacheError(message: string, hint?: string): StudioCMSCacheError
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'StudioCMS_SDK_Error
.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'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 Cache Error';
Defined in: studiocms/packages/studiocms/src/sdk/errors.ts:22
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'StudioCMS_SDK_Error
.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'StudioCMS_SDK_Error
.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'StudioCMS_SDK_Error
.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'StudioCMS_SDK_Error
.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