Merge pull request #33490 from overleaf/em-parse-req-errors-2

Reintroduce custom error types in request validation

GitOrigin-RevId: 1985ca04c8fe693fb836b042517d94700343bc46
This commit is contained in:
Eric Mc Sween
2026-05-08 08:10:13 +00:00
committed by Copybot
parent 8c0589df7f
commit 2bb35fafb8
17 changed files with 105 additions and 85 deletions
+3 -2
View File
@@ -1,4 +1,4 @@
const { ParamsError } = require('./Errors')
const { InvalidParamsError, InvalidRequestError } = require('./Errors')
const { z } = require('zod')
const { zz } = require('./zodHelpers')
const { parseReq } = require('./parseReq')
@@ -15,5 +15,6 @@ module.exports = {
parseReq,
handleValidationError,
createHandleValidationError,
ParamsError,
InvalidRequestError,
InvalidParamsError,
}