@deboxsoft/accounting-api
Advanced tools
Comparing version 1.4.0-beta.65 to 1.4.0-beta.66
@@ -1192,3 +1192,7 @@ 'use strict'; | ||
constructor(code, args = {}, type = "error") { | ||
constructor( | ||
code, | ||
args = {}, | ||
type = "error" | ||
) { | ||
super(); | ||
@@ -1200,2 +1204,4 @@ this.type = type; | ||
this.code = code; | ||
this.notificationType = type; | ||
this.instanceOf = "AccountError"; | ||
this.indexes = args.indexes; | ||
@@ -1202,0 +1208,0 @@ } catch (ignore) {} |
{ | ||
"name": "@deboxsoft/accounting-api", | ||
"version": "1.4.0-beta.65", | ||
"version": "1.4.0-beta.66", | ||
"license": "SEE LICENSE IN LICENSE.md", | ||
@@ -38,3 +38,3 @@ "repository": { | ||
"devDependencies": { | ||
"@deboxsoft/module-core": "~2.3.2", | ||
"@deboxsoft/module-core": "~2.3.4", | ||
"@deboxsoft/plop-generator": "^1.0.1-beta.22", | ||
@@ -41,0 +41,0 @@ "@deboxsoft/users-api": "~1.3.1", |
@@ -1,2 +0,2 @@ | ||
import { DeboxError } from "@deboxsoft/module-core"; | ||
import { DeboxError, DeboxErrorOptions } from "@deboxsoft/module-core"; | ||
export declare type AccountCodeError = keyof typeof codeMessageDefault; | ||
@@ -17,4 +17,4 @@ declare const codeMessageDefault: { | ||
type: string; | ||
constructor(code: AccountCodeError, args?: Record<string, any>, type?: string); | ||
constructor(code: AccountCodeError, args?: Record<string, any>, type?: DeboxErrorOptions["notificationType"]); | ||
} | ||
export {}; |
Sorry, the diff of this file is not supported yet
200442
5304