A work-in-progress SQL parser written in TypeScript
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678910111213 |
- export default class Error {
- public message: string;
- public line: number;
-
- constructor(message: string, line: number) {
- this.message = message;
- this.line = line;
- }
- }
-
- export const isError = (obj: any): obj is Error => {
- return obj && obj.message && obj.line;
- };
|