@kamalyb/errors
Advanced tools
Comparing version 1.0.7 to 1.0.8
import { ValidationErrorItem } from 'joi'; | ||
import ExtendableError from 'extendable-error'; | ||
import { ExtendableError } from 'extendable-error'; | ||
@@ -4,0 +4,0 @@ interface ErrorProps { |
@@ -1,6 +0,4 @@ | ||
var __create = Object.create; | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __getProtoOf = Object.getPrototypeOf; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
@@ -19,3 +17,2 @@ var __export = (target, all) => { | ||
}; | ||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod)); | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
@@ -77,4 +74,4 @@ | ||
// src/errors/Custom.ts | ||
var import_extendable_error = __toESM(require("extendable-error")); | ||
var CustomError = class extends import_extendable_error.default { | ||
var import_extendable_error = require("extendable-error"); | ||
var CustomError = class extends import_extendable_error.ExtendableError { | ||
constructor(message) { | ||
@@ -81,0 +78,0 @@ super(message); |
{ | ||
"name": "@kamalyb/errors", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "errors", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
@@ -1,2 +0,2 @@ | ||
import ExtendableError from "extendable-error"; | ||
import { ExtendableError } from "extendable-error"; | ||
import { CustomErrorParam, ErrorProps, Location } from "../types"; | ||
@@ -3,0 +3,0 @@ import { ICustomError } from "../utils"; |
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
23876
805