π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
import { FormulaErrorType } from './enums';
export class FormulaError extends Error {
public type: FormulaErrorType;
public extra: Record<string, any>;
constructor(
type: FormulaErrorType,
extra: {
[key: string]: any;
},
message: string = 'Formula Error'
) {
super(message);
this.type = type;
this.extra = extra;
}
}