@friggframework/errors
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -1,2 +0,2 @@ | ||
const { LHError } = require('./LHError'); | ||
const { BaseError } = require('./BaseError'); | ||
const { stripIndent } = require('common-tags'); | ||
@@ -9,3 +9,3 @@ | ||
class FetchError extends LHError { | ||
class FetchError extends BaseError { | ||
constructor(options = {}) { | ||
@@ -12,0 +12,0 @@ const { resource, init, response, responseBody } = options; |
@@ -1,4 +0,4 @@ | ||
const { LHError } = require('./LHError'); | ||
const { BaseError } = require('./BaseError'); | ||
class HaltError extends LHError { | ||
class HaltError extends BaseError { | ||
constructor(message, ...errorOptions) { | ||
@@ -5,0 +5,0 @@ super(message, ...errorOptions); |
{ | ||
"name": "@friggframework/errors", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"prettier": "@friggframework/prettier-config", | ||
"description": "", | ||
"main": "FetchError.js", | ||
"main": "index.js", | ||
"devDependencies": { | ||
@@ -8,0 +8,0 @@ "@friggframework/eslint-config": "^1.0.0", |
@@ -1,4 +0,4 @@ | ||
const { LHError } = require('./LHError'); | ||
const { BaseError } = require('./BaseError'); | ||
class RequiredPropertyError extends LHError { | ||
class RequiredPropertyError extends BaseError { | ||
constructor(options = {}, ...parentOptions) { | ||
@@ -12,3 +12,3 @@ const { parent, key = '' } = options; | ||
class ParameterTypeError extends LHError { | ||
class ParameterTypeError extends BaseError { | ||
constructor(options = {}, ...parentOptions) { | ||
@@ -15,0 +15,0 @@ const { parent, key = '', value = '', expectedType } = options; |
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
14109
12
311