8 lines
218 B
TypeScript
8 lines
218 B
TypeScript
|
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}"`)
|
||
|
}
|
||
|
}
|