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

10 lines (8 loc) 249 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') } }