tentacle-plugin-error

A custom error for tentacle plugins

Usage no npm install needed!

<script type="module">
  import tentaclePluginError from 'https://cdn.skypack.dev/tentacle-plugin-error';
</script>

README

Dependencies npm version

Installation

The module is installable via Node Package manager and is used to throw errors in a plugin due special stack and other functionallity.

npm install --save tentacle-plugin-error

Usage

var PluginError = require('tentacle-plugin-error');
var PLUGIN_NAME = 'MyPluginTest';

throw new PluginError(PLUGIN_NAME, 'Something failed');