simple-extendable-error
TypeScript icon, indicating that this package has built-in type declarations

0.0.0 • Public • Published

simple-extendable-error

Usage

import {ExtendableError} from 'simple-extendable-error'

class MyError extends ExtendableError {}

function myfunc() {

try {
    doSomething()
} catch (err) {
    throw new MyError("myfunc error message come here", err)
}

/simple-extendable-error/

    Package Sidebar

    Install

    npm i simple-extendable-error

    Weekly Downloads

    1

    Version

    0.0.0

    License

    MIT

    Unpacked Size

    5.06 kB

    Total Files

    13

    Last publish

    Collaborators

    • ppdx999