Skip to content
v3.4.0

ProtectedFunctionError

Error thrown when trying to register, override or remove function with reserved id.

see registerFunctionPlugin

see registerFunction

see unregisterFunction

• message: string


• name: string


• stack? : undefined | string


▪ Error: ErrorConstructor

▸ cannotRegisterFunctionWithId(functionId: string): ProtectedFunctionError

Defined in src/errors.ts:334

Parameters:

NameType
functionIdstring

Returns: ProtectedFunctionError


▸ cannotUnregisterFunctionWithId(functionId: string): ProtectedFunctionError

Defined in src/errors.ts:338

Parameters:

NameType
functionIdstring

Returns: ProtectedFunctionError


▸ cannotUnregisterProtectedPlugin(): ProtectedFunctionError

Defined in src/errors.ts:342

Returns: ProtectedFunctionError