UNPKG

@udraft/core

Version:

uDraft is a language and stack agnostic code-generation tool that simplifies full-stack development by converting a single YAML file into code for rapid development.

12 lines (10 loc) 287 B
import { UDraftError } from "./udraft-error"; export class MissingAttributeError extends UDraftError { constructor( root: string, rootType: "field" | "model" | "module", attribute: string ) { super(`Attribute ${attribute} is missing on ${rootType} ${root}!`); } }