1.1.0 • Published 4 years ago

@ayanaware/errors v1.1.0

Weekly downloads
7
License
MIT
Repository
gitlab
Last release
4 years ago

@ayanaware/errors NPM Discord Install size

Common AyanaWare errors.

If you are developing a library use one of the following patterns:

#1 Use this package as a peer dependency so the package user has to install it to prevent version conflicts in the first place

#2 Use this package as a regular dependency but export the guards from @ayanaware/errors/guards so the package user thinks they are coming from your library. i.e. export them on your main class (ex. MyPackage) so the package user can use MyPackage.isGenericError(someError)

Links

GitLab repository

NPM package

License

Refer to the LICENSE file.