Comparing version 7.0.3 to 7.0.4
@@ -0,1 +1,8 @@ | ||
## [7.0.4](https://github.com/thenativeweb/defekt/compare/7.0.3...7.0.4) (2021-03-25) | ||
### Bug Fixes | ||
* Fix wrong usage of error constructor in documentation. ([#289](https://github.com/thenativeweb/defekt/issues/289)) ([459b063](https://github.com/thenativeweb/defekt/commit/459b0639969f0ab3708f983c896f695f3232c3d0)) | ||
## [7.0.3](https://github.com/thenativeweb/defekt/compare/7.0.2...7.0.3) (2021-03-25) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "defekt", | ||
"version": "7.0.3", | ||
"version": "7.0.4", | ||
"description": "defekt is custom errors made simple.", | ||
@@ -35,3 +35,3 @@ "contributors": [ | ||
"devDependencies": { | ||
"assertthat": "5.2.5", | ||
"assertthat": "5.2.6", | ||
"roboter": "11.6.30", | ||
@@ -38,0 +38,0 @@ "semantic-release-configuration": "2.0.0" |
@@ -184,3 +184,6 @@ # defekt | ||
if (ex.code === 'ENOENT') { | ||
return error(new ConfigurationNotFound('Failed to read configuration file.', { ex })); | ||
return error(new ConfigurationNotFound({ | ||
message: 'Failed to read configuration file.', | ||
cause: ex | ||
})); | ||
} | ||
@@ -187,0 +190,0 @@ |
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
28165
276