UNPKG

sanity

Version:

Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches

11 lines (9 loc) 279 B
import {type Schema} from '@sanity/types' /** @internal */ // TODO: consider removing this error in favor of the `ConfigResolutionError` export class SchemaError extends Error { constructor(public schema: Schema) { super('SchemaError') this.name = 'SchemaError' } }