@lafrae/errors 0.0.1 → 0.0.2

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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,19 +1,19 @@
1
- # Node Async Handler
1
+ # Errors
2
2
 
3
- Tratamento para funções asíncronas abstraindo o uso de chamadas `try/catch`
3
+ Definições para tratamentos de erros em javascript
4
4
 
5
5
  ## Instalando
6
6
 
7
7
  Via npm
8
8
 
9
9
  ```bash
10
- npm i @sintese/nodejs-async-handler
10
+ npm i @lafrae/errors
11
11
  ```
12
12
 
13
13
  ## Usando
14
14
 
15
15
  ```javascript
16
- import { handler } from "@sintese/nodejs-async-handler";
16
+ import { handler } from "@lafrae/errors";
17
17
 
18
18
  class EvenNumberNotAllowedError extends Error {
19
19
  constructor(num: number) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lafrae/errors",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Definições para gerenciamento de erros em javascript",
5
5
  "engines": {
6
6
  "node": ">=18"