IB
Size: a a a
IB
IB
🏡К
АН
class CentException extends Error {
constructor(m: string) {
super(m);
// Set the prototype explicitly.
Object.setPrototypeOf(this, CentException.prototype);
}
}
АН
j
АН
АН
АН
class TErr extends Error{}
let test = new TErr('meow');
console.log(test instanceof Error);
m
IB
m
Ш
m
Ш
Ш
m
m