deno.land / x / msgpack_javascript@v3.0.0-beta2 / src / DecodeError.ts

DecodeError.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
export class DecodeError extends Error { constructor(message: string) { super(message);
// fix the prototype chain in a cross-platform way const proto: typeof DecodeError.prototype = Object.create(DecodeError.prototype); Object.setPrototypeOf(this, proto);
Object.defineProperty(this, "name", { configurable: true, enumerable: false, value: DecodeError.name, }); }}
msgpack_javascript

Version Info

Tagged at
a year ago