Skip to content

Commit

Permalink
🎉 Feat(oh-my-error): Release 2.0.0-prerelease.0!
Browse files Browse the repository at this point in the history
  • Loading branch information
INeedJobToStartWork committed Oct 8, 2024
1 parent 59855c4 commit 4f04fe2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,12 +220,12 @@ const ErrorList = {

There you can find ready error structures.

| Name | Description | Extends |
| ------------------------- | --------------------------------- | ----------------------------------------------------------------------------------------------------- |
| IMyError `new!` | Basic Error | - |
| IMyErrorAPI `new!` | Basic Error for an API error | [IMyError](#error-templates-interfaces), [TApiError](#predefined-elements-for-functions-atoms) |
| IMyErrorRateLimit `new!` | API error for RateLimit | [IMyError](#error-templates-interfaces), [TApiRateLimit](#predefined-elements-for-functions-atoms) |
| IMyErrorValidation `new!` | API error for Validation problems | [IMyError](#error-templates-interfaces), [TValidationError](#predefined-elements-for-functions-atoms) |
| Name | Description | Extends |
| --------------------------------------------------------------------------------------------------------- | --------------------------------- | ----------------------------------------------------------------------------------------------------- |
| [IMyError](https://github.com/INeedJobToStartWork/MyError/blob/main/src/types/errors.ts) `new!` | Basic Error | - |
| [IMyErrorAPI](https://github.com/INeedJobToStartWork/MyError/blob/main/src/types/errors.ts) `new!` | Basic Error for an API error | [IMyError](#error-templates-interfaces), [TApiError](#predefined-elements-for-functions-atoms) |
| [IMyErrorRateLimit](https://github.com/INeedJobToStartWork/MyError/blob/main/src/types/errors.ts) `new!` | API error for RateLimit | [IMyError](#error-templates-interfaces), [TApiRateLimit](#predefined-elements-for-functions-atoms) |
| [IMyErrorValidation](https://github.com/INeedJobToStartWork/MyError/blob/main/src/types/errors.ts) `new!` | API error for Validation problems | [IMyError](#error-templates-interfaces), [TValidationError](#predefined-elements-for-functions-atoms) |

### Predefined elements for Functions (Atoms) `new!`

Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "oh-my-error",
"version": "2.0.0-prerelease.0",
"private": true,
"description": "A simple error handler for nodejs",
"keywords": [
"error",
Expand Down

0 comments on commit 4f04fe2

Please sign in to comment.