Comparing version 3.0.0 to 3.0.1
{ | ||
"name": "yerror", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "It helps to know why you got an error.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -1,4 +0,4 @@ | ||
export class YError extends Error { | ||
declare class YError extends Error { | ||
constructor(errorCode: string, ...params: any[]); | ||
constructor(wrappedErrors?: E[], errorCode?: string, ...params: any[]); | ||
constructor<E extends Error>(wrappedErrors?: E[], errorCode?: string, ...params: any[]); | ||
code: string; | ||
@@ -5,0 +5,0 @@ params: any[]; |
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
177068