1
0
mirror of https://github.com/fluencelabs/assemblyscript synced 2025-05-03 02:42:15 +00:00

15 lines
244 B
TypeScript

export class Error {
name: string = "Error";
message: string;
stack: string = ""; // TODO
constructor(message: string = "") {
this.message = message;
}
}
export class RangeError extends Error {
name: string = "RangeError";
}