@prisma/language-server
Version:
Prisma Language Server
17 lines • 526 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.WasmPanicRegistry = void 0;
class WasmPanicRegistry {
constructor() {
this.message = '';
}
get() {
return `${this.message}`;
}
// Don't use this method directly, it's only used by the Wasm panic hook in @prisma/prisma-schema-wasm.
set_message(value) {
this.message = `RuntimeError: ${value}`;
}
}
exports.WasmPanicRegistry = WasmPanicRegistry;
//# sourceMappingURL=WasmPanicRegistry.js.map