mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-08 14:58:12 +03:00
First Gamma Ray
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// @todo #118
|
||||
|
||||
import { RequestHandler } from "express";
|
||||
import multer, { MulterError } from "multer";
|
||||
import CreateLogCtx from "./logger";
|
||||
|
||||
@@ -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}${
|
||||
|
||||
Reference in New Issue
Block a user