@kajidog/mcp-tts-voicevox
Version:
VOICEVOX integration for MCP - Text-to-Speech server using VOICEVOX engine
20 lines (19 loc) • 524 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.VoicevoxError = void 0;
/**
* VOICEVOXエラークラス
*/
class VoicevoxError extends Error {
/**
* VOICEVOXエラーを初期化する
* @param message エラーメッセージ
* @param statusCode ステータスコード
*/
constructor(message, statusCode) {
super(message);
this.name = "VoicevoxError";
this.statusCode = statusCode;
}
}
exports.VoicevoxError = VoicevoxError;