ProtectedFunctionError
Error thrown when trying to register, override or remove function with reserved id.
see registerFunction
Properties
Section titled “Properties”message
Section titled “message”• message: string
• name: string
• stack? : undefined | string
▪ Error: ErrorConstructor
Methods
Section titled “Methods”cannotRegisterFunctionWithId
Section titled “cannotRegisterFunctionWithId”▸ cannotRegisterFunctionWithId(functionId: string): ProtectedFunctionError
Defined in src/errors.ts:334
Parameters:
| Name | Type |
|---|---|
functionId | string |
Returns: ProtectedFunctionError
cannotUnregisterFunctionWithId
Section titled “cannotUnregisterFunctionWithId”▸ cannotUnregisterFunctionWithId(functionId: string): ProtectedFunctionError
Defined in src/errors.ts:338
Parameters:
| Name | Type |
|---|---|
functionId | string |
Returns: ProtectedFunctionError
cannotUnregisterProtectedPlugin
Section titled “cannotUnregisterProtectedPlugin”▸ cannotUnregisterProtectedPlugin(): ProtectedFunctionError
Defined in src/errors.ts:342
Returns: ProtectedFunctionError