JSPM

missing-dependency-error

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q26659F
  • License MIT

Missing dependency error for TypeScript.

Package Exports

  • missing-dependency-error

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (missing-dependency-error) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

missing-dependency-error

A simple extension of the JavaScript Error object (read on MDN) to be thrown when a dependency isn't provided.

Installation

npm install missing-dependency-error

Usage

import MissingDependencyError from "missing-dependency-error";

let err = new MissingDependencyError("SomeDependency");

The above example will create a MissingDependencyError object with the message:

Missing dependency: SomeDependency

License

This is licensed under the MIT license. See the LICENSE file for more information.