vc-error-handlers
TypeScript icon, indicating that this package has built-in type declarations

0.5.3 • Public • Published

Installation

To add vc-error-handlers package to your project, follow these steps:

  1. Open your terminal and navigate to your project folder.
  2. Run the following command to install the package: shell npm i vc-error-handlers

Usage

  1. Import the VcErrorHandlersModule in your module file:
import { NgModule } from "@angular/core";
import { VcErrorHandlersModule } from "vc-error-handlers";

@NgModule({
  imports: [
    VcErrorHandlersModule.forRoot({ sentryConfig: SENTRY_CONFIG }), // Replace SENTRY_CONFIG with your Sentry configuration
  ],
})
export class MyModule {}
  1. Replace SENTRY_CONFIG with your actual Sentry configuration. After importing the module, you can use the error handlers provided by vc-error-handlers throughout your Angular application

Readme

Keywords

none

Package Sidebar

Install

npm i vc-error-handlers

Weekly Downloads

185

Version

0.5.3

License

none

Unpacked Size

601 kB

Total Files

82

Last publish

Collaborators

  • vcomply