fenextjs-error
Advanced tools
Comparing version 3.1.6 to 3.2.0
@@ -7,2 +7,3 @@ import { ErrorCode, ErrorProps } from "fenextjs-interface/cjs/Error"; | ||
code: ErrorCode; | ||
content?: any; | ||
message: string; | ||
@@ -12,3 +13,3 @@ msg?: string; | ||
data?: D; | ||
constructor({ code, data, message, input }: ErrorFenextjsProps<D>); | ||
constructor({ code, data, message, input, content, }: ErrorFenextjsProps<D>); | ||
} |
@@ -7,2 +7,3 @@ "use strict"; | ||
code; | ||
content; | ||
message; | ||
@@ -12,3 +13,3 @@ msg; | ||
data; | ||
constructor({ code, data, message, input }) { | ||
constructor({ code, data, message, input, content, }) { | ||
super(message); | ||
@@ -21,2 +22,3 @@ this.code = code ?? Error_1.ErrorCode.ERROR; | ||
this.input = input; | ||
this.content = content; | ||
} | ||
@@ -23,0 +25,0 @@ } |
{ | ||
"name": "fenextjs-error", | ||
"version": "3.1.6", | ||
"version": "3.2.0", | ||
"description": "", | ||
@@ -43,3 +43,3 @@ "main": "./cjs/index.js", | ||
"dependencies": { | ||
"fenextjs-interface": "4.4.0" | ||
"fenextjs-interface": "4.5.0" | ||
}, | ||
@@ -46,0 +46,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39875
712
+ Addedfenextjs-interface@4.5.0(transitive)
- Removedfenextjs-interface@4.4.0(transitive)
Updatedfenextjs-interface@4.5.0