We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7350f06 commit 4a08a5eCopy full SHA for 4a08a5e
server/app/src/apis/module/error.ts
@@ -5,6 +5,12 @@ import {
5
} from '../../service/error';
6
import { Response } from 'express';
7
8
+/**
9
+ * @description Response branch processing logic for each error code
10
+ * @param {unknown | ServerError | BadRequestError | NotFoundError} err
11
+ * @param {Response} res
12
+ * @returns
13
+ */
14
function errorResposne(
15
err: unknown | ServerError | BadRequestError | NotFoundError,
16
res: Response
0 commit comments