vc-error-handlers 1.1.0 → 9.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,27 +1,27 @@
1
- ## Installation
2
-
3
- To add vc-error-handlers package to your project, follow these steps:
4
-
5
- 1. Open your terminal and navigate to your project folder.
6
- 2. Run the following command to install the package:
7
- shell
8
- npm i vc-error-handlers
9
-
10
- ## Usage
11
-
12
- 1. Import the VcErrorHandlersModule in your module file:
13
-
14
- ```typescript
15
- import { NgModule } from "@angular/core";
16
- import { VcErrorHandlersModule } from "vc-error-handlers";
17
-
18
- @NgModule({
19
- imports: [
20
- VcErrorHandlersModule.forRoot({ sentryConfig: SENTRY_CONFIG }), // Replace SENTRY_CONFIG with your Sentry configuration
21
- ],
22
- })
23
- export class MyModule {}
24
- ```
25
-
26
- 2. Replace SENTRY_CONFIG with your actual Sentry configuration.
27
- After importing the module, you can use the error handlers provided by vc-error-handlers throughout your Angular application
1
+ ## Installation
2
+
3
+ To add vc-error-handlers package to your project, follow these steps:
4
+
5
+ 1. Open your terminal and navigate to your project folder.
6
+ 2. Run the following command to install the package:
7
+ shell
8
+ npm i vc-error-handlers
9
+
10
+ ## Usage
11
+
12
+ 1. Import the VcErrorHandlersModule in your module file:
13
+
14
+ ```typescript
15
+ import { NgModule } from "@angular/core";
16
+ import { VcErrorHandlersModule } from "vc-error-handlers";
17
+
18
+ @NgModule({
19
+ imports: [
20
+ VcErrorHandlersModule.forRoot({ sentryConfig: SENTRY_CONFIG }), // Replace SENTRY_CONFIG with your Sentry configuration
21
+ ],
22
+ })
23
+ export class MyModule {}
24
+ ```
25
+
26
+ 2. Replace SENTRY_CONFIG with your actual Sentry configuration.
27
+ After importing the module, you can use the error handlers provided by vc-error-handlers throughout your Angular application