mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
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:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user