Merge pull request #33413 from overleaf/revert-33040-em-parse-req-errors

Revert "Replace isZodErrorLike with custom error types in request validation"

GitOrigin-RevId: 1f51fe9e14ffabf283f1229552d3887136420f8f
This commit is contained in:
Eric Mc Sween
2026-05-06 08:06:41 +00:00
committed by Copybot
parent 98def949ec
commit 3da2d53acb
16 changed files with 80 additions and 100 deletions
+2 -3
View File
@@ -1,4 +1,4 @@
const { InvalidParamsError, InvalidRequestError } = require('./Errors')
const { ParamsError } = require('./Errors')
const { z } = require('zod')
const { zz } = require('./zodHelpers')
const { parseReq } = require('./parseReq')
@@ -15,6 +15,5 @@ module.exports = {
parseReq,
handleValidationError,
createHandleValidationError,
InvalidRequestError,
InvalidParamsError,
ParamsError,
}