Skip to content

AtyaLibraries/Exceptions

Repository files navigation

Exceptions

Exceptions is the repository for the Atya.Errors.Exceptions NuGet package.

Repository https://github.com/AtyaLibraries/Exceptions
NuGet Atya.Errors.Exceptions
License MIT

This package provides a focused exception taxonomy for reusable .NET libraries and applications that need clear failure categories without any ASP.NET Core or transport-specific coupling.

Included APIs

  • AtyaException
  • BusinessRuleViolationException
  • ConcurrencyException
  • ConflictException
  • ForbiddenException
  • InfrastructureException
  • NotFoundException
  • UnauthorizedException
  • ValidationException
  • ValidationExceptionItem

Layout

.
|-- src/Exceptions/
|-- tests/Exceptions.UnitTests/
|-- samples/Exceptions.Samples.Console/
|-- benchmarks/Exceptions.Benchmarks/
`-- .github/

Build, test, pack

dotnet restore
dotnet build --configuration Release --no-restore
dotnet test ./tests/Exceptions.UnitTests/Exceptions.UnitTests.csproj --configuration Release --no-build --collect "XPlat Code Coverage"
dotnet pack ./src/Exceptions/Exceptions.csproj --configuration Release --no-build --output artifacts/packages

Artifacts land in artifacts/packages/.

Versioning

Versions are derived from git tags via MinVer. Merges to master publish stable NuGet packages through .github/workflows/publish-nuget.yml, which creates the version tag and GitHub Release after a successful publish.

About

Reusable exception taxonomy for modern .NET applications.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages