@ayanaware/errors
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
License
Refer to the LICENSE file.