Skip to content

Class: AppMethodError ​

Error thrown when a method reserved for apps is called from a context that is not one (e.g. a widget).

Remarks ​

The produced message has the form '<name>' is only available in an app..

Example ​

ts
if (!(kapp instanceof Appli)) {
    throw new AppMethodError('dynamicTriggers.create');
}

Extends ​

  • Error