slack-edge
Version:
Slack app development framework for edge functions with streamlined TypeScript support
34 lines • 920 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SocketModeError = exports.AuthorizeError = exports.ConfigError = void 0;
/**
* Exception that occurred during the configuration of the app.
*/
class ConfigError extends Error {
constructor(message) {
super(message);
this.name = "ConfigError";
}
}
exports.ConfigError = ConfigError;
/**
* Exception that occurred during an authorize() call.
*/
class AuthorizeError extends Error {
constructor(message) {
super(message);
this.name = "AuthorizeError";
}
}
exports.AuthorizeError = AuthorizeError;
/**
* Exception that occurred during the configuration of Socket Mode.
*/
class SocketModeError extends Error {
constructor(message) {
super(message);
this.name = "SocketModeError";
}
}
exports.SocketModeError = SocketModeError;
//# sourceMappingURL=errors.js.map