@veecode-platform/safira-cli
Version:
Generate a microservice project from your spec.
35 lines (34 loc) • 1.58 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ArchitectureNotSupportedException = exports.JavaPackageNotSupportedException = exports.PlatformNotSupportedException = exports.FrameworkNotSupportedException = exports.LanguageNotSupportedException = void 0;
const safira_exception_1 = require("./safira-exception");
class LanguageNotSupportedException extends safira_exception_1.BusinessException {
constructor(language) {
super(`Language ${language} is not supported`);
}
}
exports.LanguageNotSupportedException = LanguageNotSupportedException;
class FrameworkNotSupportedException extends safira_exception_1.BusinessException {
constructor(framework) {
super(`Framework ${framework} is not supported`);
}
}
exports.FrameworkNotSupportedException = FrameworkNotSupportedException;
class PlatformNotSupportedException extends safira_exception_1.BusinessException {
constructor(framework) {
super(`Platform ${framework} is not supported`);
}
}
exports.PlatformNotSupportedException = PlatformNotSupportedException;
class JavaPackageNotSupportedException extends safira_exception_1.BusinessException {
constructor(message) {
super(message);
}
}
exports.JavaPackageNotSupportedException = JavaPackageNotSupportedException;
class ArchitectureNotSupportedException extends safira_exception_1.BusinessException {
constructor(platform) {
super(`Architecture ${platform} is not supported`);
}
}
exports.ArchitectureNotSupportedException = ArchitectureNotSupportedException;