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

Function createInternalError

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

Source from the content-addressed store, hash-verified

145}
146
147export function createInternalError(message: string, model?: string, options?: ErrorOptions) {
148 const error = new ORMError(ORMErrorReason.INTERNAL_ERROR, message, options);
149 error.model = model;
150 return error;
151}

Callers 15

requireModelFunction · 0.90
requireTypeDefFunction · 0.90
requireFieldFunction · 0.90
requireIdFieldsFunction · 0.90
getUniqueFieldsFunction · 0.90
getIdValuesFunction · 0.90
getDiscriminatorFieldFunction · 0.90
getMutationModelMethod · 0.90
transformOutputJsonMethod · 0.90
buildFieldSelectionFunction · 0.90
createFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected