MCPcopy Create free account
hub / github.com/zenstackhq/zenstack / createConfigError

Function createConfigError

packages/orm/src/client/errors.ts:106–108  ·  view source on GitHub ↗
(message: string, options?: ErrorOptions)

Source from the content-addressed store, hash-verified

104}
105
106export function createConfigError(message: string, options?: ErrorOptions) {
107 return new ORMError(ORMErrorReason.CONFIG_ERROR, message, options);
108}
109
110export function createNotFoundError(model: string, message?: string, options?: ErrorOptions) {
111 const error = new ORMError(ORMErrorReason.NOT_FOUND, message ?? 'Record not found', options);

Callers 4

validateOptionsMethod · 0.90
handleProcMethod · 0.90
fieldRefFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected