mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
13 lines
281 B
TypeScript
13 lines
281 B
TypeScript
export class QueryError extends Error {
|
|
public data;
|
|
public description;
|
|
|
|
constructor(message, description, data) {
|
|
super(message);
|
|
this.name = this.constructor.name;
|
|
this.data = data;
|
|
this.description = description;
|
|
|
|
console.log(this.description);
|
|
}
|
|
}
|