Skip to content

Commit

Permalink
fix: snippet node compatiblity
Browse files Browse the repository at this point in the history
  • Loading branch information
coroiu committed Oct 11, 2024
1 parent 5c6bcda commit 5ee793a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/bitwarden-wasm-internal/src/error.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
* @param {string} message - Error message.
* @extends Error
*/
export class WasmError extends Error {
class WasmError extends Error {
constructor(message) {
super(message);
this.name = "WasmError";
}
}

exports.WasmError = WasmError;

0 comments on commit 5ee793a

Please sign in to comment.