@bookmyticket/common

a error package

Usage no npm install needed!

<script type="module">
  import bookmyticketCommon from 'https://cdn.skypack.dev/@bookmyticket/common';
</script>

README

@bookmyticket/common

Demo

Browse components and explore their props with

Quick Start

Install the package with npm

npm i @bookmyticket/common

or yarn - whichever you prefer

yarn add @bookmyticket/common
import { CustomError, BadRequestError } from "@bookmyticket/common";

and then it's use as expamble given below

Express App

No changes are required