UNPKG

@prisma/language-server

Version:
17 lines 526 B
"use strict"; 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