7 lines
240 B
TypeScript
7 lines
240 B
TypeScript
import { BBReferenceFieldSubType } from "@budibase/types"
|
|
|
|
export class InvalidBBRefError extends Error {
|
|
constructor(id: string, subtype: BBReferenceFieldSubType) {
|
|
super(`Id "${id}" is not valid for the subtype "${subtype}"`)
|
|
}
|
|
}
|