@gitgov/core 1.3.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -202,7 +202,7 @@ import {
202
202
 
203
203
  function handleCoreErrors(error: unknown) {
204
204
  if (error instanceof DetailedValidationError) {
205
- return { type: "validation", fields: error.ajvErrors };
205
+ return { type: "validation", fields: error.errors };
206
206
  } else if (error instanceof RecordNotFoundError) {
207
207
  return { type: "not_found", code: error.code };
208
208
  } else if (error instanceof ProjectRootError) {