1
0
Fork 0
mirror of synced 2024-09-26 06:11:49 +12:00
budibase/packages/server/src/utilities/rowProcessor/errors.ts

8 lines
218 B
TypeScript
Raw Normal View History

2023-09-15 22:07:25 +12:00
import { FieldSubtype } from "@budibase/types"
export class InvalidBBRefError extends Error {
constructor(id: string, subtype: FieldSubtype) {
super(`Id "${id}" is not valid for the subtype "${subtype}"`)
}
}