@scaffdog/error
Advanced tools
Comparing version 1.0.0-canary.6 to 1.0.0-canary.7
@@ -6,2 +6,6 @@ # Change Log | ||
# [1.0.0-canary.7](https://github.com/cats-oss/scaffdog/compare/v1.0.0-canary.6...v1.0.0-canary.7) (2021-01-12) | ||
**Note:** Version bump only for package @scaffdog/error | ||
# [1.0.0-canary.6](https://github.com/cats-oss/scaffdog/compare/v1.0.0-canary.5...v1.0.0-canary.6) (2021-01-12) | ||
@@ -8,0 +12,0 @@ |
{ | ||
"name": "@scaffdog/error", | ||
"version": "1.0.0-canary.6", | ||
"version": "1.0.0-canary.7", | ||
"description": "A utility module of scaffdog error.", | ||
@@ -35,3 +35,3 @@ "keywords": [ | ||
"devDependencies": { | ||
"@scaffdog/types": "1.0.0-canary.6" | ||
"@scaffdog/types": "1.0.0-canary.7" | ||
}, | ||
@@ -41,3 +41,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "0621c0e2ef0de5cabb27a279cb5925b1d033e65b" | ||
"gitHead": "e002eafd425b17b1a4ca4211c46ac80095dbd14b" | ||
} |
@@ -16,3 +16,18 @@ # @scaffdog/error | ||
```typescript | ||
// T.B.A | ||
import { error } from '@scaffdog/error'; | ||
const e = error('unexpected token', { | ||
source: 'text {{ ] }}', | ||
loc: { | ||
start: { line: 1, column: 9 }, | ||
end: { line: 1, column: 9 }, | ||
}, | ||
}); | ||
console.log(e.message); | ||
// unexpected token: | ||
// | ||
// > │ text {{ ] }} | ||
// │ ^ | ||
``` |
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
7359
33