First Gamma Ray

This commit is contained in:
zkldi
2021-05-21 15:19:50 +01:00
parent a4c200fc74
commit 73ebfd9b0c
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -1,3 +1,5 @@
// @todo #118
import { RequestHandler } from "express";
import multer, { MulterError } from "multer";
import CreateLogCtx from "./logger";
+2 -2
View File
@@ -1,5 +1,5 @@
import { PrudenceError } from "prudence/js/error";
import p, { ValidSchemaValue } from "prudence";
// @todo #118 Investigate why this import triggers a circular dependency according to madge.
import p, { PrudenceError, ValidSchemaValue } from "prudence";
export function FormatPrError(err: PrudenceError, foreword = "Error") {
return `${foreword}: ${err.keychain} | ${err.message}${