UNPKG

@rocket.chat/apps-engine

Version:

The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.

19 lines 606 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UserNotAllowedException = void 0; const _1 = require("."); /** * This exception informs the host system that an * app has determined that an user is not allowed * to perform a specific action. * * Currently it is expected to be thrown by the * following events: * - IPreRoomCreatePrevent * - IPreRoomUserJoined * - IPreRoomUserLeave */ class UserNotAllowedException extends _1.AppsEngineException { } exports.UserNotAllowedException = UserNotAllowedException; //# sourceMappingURL=UserNotAllowedException.js.map