es6-error
es6-error copied to clipboard
Easily-extendable error for use with ES6 classes
Added power support for the travis.yml file with ppc64le. This is part of the Ubuntu distribution for ppc64le. This helps us simplify testing later when distributions are re-building and re-releasing.
In Node, `require("es6-error")` returns the function `ExtendableError`, but in Rollup or Webpack, `require("es6-error")` returns a module `{ default: ExtendableError }`. This means an `es6-error` dependent can’t be compatible with both...
I don't like to rain on other people's parades, but the examples in the README.md can be rewritten rather more simply as: ## ES6 Usage ```javascript class MyError extends Error...
Hello, i'm getting this error. Typescript 2.7.2 TypeError: Object prototype may only be an Object or null: undefined at setPrototypeOf (native) [Node] at __extends Any idea why?
On versions 4.1.0 and 4.1.1, I'm seeing the error: ```Uncaught TypeError: Super expression must either be null or a function, not undefined``` Downgrading to 4.0.2 fixes it. I wasn't able...
Currently, unit tests only target the un-transpiled ES6 source. This is fine for testing intended behavior, but it doesn't do anything to ensure the compiled output will work (in Node...