Skip to content

Layered Exceptions#76

Merged
JJBussert merged 8 commits into
e13tech:mainfrom
JJBussert:main
Apr 16, 2025
Merged

Layered Exceptions#76
JJBussert merged 8 commits into
e13tech:mainfrom
JJBussert:main

Conversation

@JJBussert
Copy link
Copy Markdown
Contributor

This pull request includes multiple changes to the E13.Common project, focusing on adding new projects and updating continuous deployment configurations. Additionally, it introduces new exception classes and updates documentation.

Project and Solution Updates:

  • Added new projects E13.Common.Data and E13.Common.Logic to the solution file E13.Common.sln.
  • Updated solution configurations to include E13.Common.Data and E13.Common.Logic in build configurations. [1] [2]

Continuous Deployment Configuration:

  • Modified build/cd.yml to adjust project references and stages, ensuring proper build and deployment of the new projects. [1] [2] [3] [4]

Documentation Updates:

  • Added XML documentation for new environment variables and extended existing documentation with exception details. [1] [2]
  • Created a README.md for E13.Common.Data detailing its purpose, features, installation, dependencies, related packages, contribution guidelines, and license.

New Exception Classes:

  • Introduced DataException in E13.Common.Data.
  • Introduced DomainException in E13.Common.Domain.
  • Introduced LogicException in E13.Common.Logic with multiple constructors for different use cases.

Project References:

  • Added a project reference to E13.Common.Data in E13.Common.Data.Db.csproj.
  • Created a new project file for E13.Common.Data targeting .NET 9.0.

Updated solution to include new project for data .
Updated solution to include existing project for logic.
Modified CI/CD pipeline to include jobs for new projects.
Established project references and dependencies in relevant files.
Introduced custom exception classes for data and logic errors.
Initialized E13.Common.Data project with .NET 9.0 settings.
Updated README.md to include a new section for the E13.Common.Data package. This includes an overview, features, installation instructions, dependencies, related packages, contribution guidelines, and licensing information to improve documentation and usability.
@JJBussert JJBussert requested a review from Copilot April 16, 2025 01:47
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request introduces new exception classes across the E13.Common projects while updating project references and continuous deployment configuration, and adding documentation for the new Data project.

  • Added new exception classes (LogicException, DomainException, and DataException).
  • Updated solution and build/CD configurations to incorporate new projects and proper pipeline ordering.
  • Added a README.md for E13.Common.Data with package details.

Reviewed Changes

Copilot reviewed 5 out of 9 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/E13.Common.Logic/LogicException.cs Introduces LogicException with standard exception constructors.
src/E13.Common.Domain/DomainException.cs Introduces DomainException without additional constructors.
src/E13.Common.Data/DataException.cs Introduces DataException without additional constructors.
src/E13.Common.Data/docs/README.md Provides documentation for the new E13.Common.Data project.
build/cd.yml Updates project references and stage dependencies in the pipeline.
Files not reviewed (4)
  • E13.Common.sln: Language not supported
  • doc/E13.Common.Core.xml: Language not supported
  • src/E13.Common.Data.Db/E13.Common.Data.Db.csproj: Language not supported
  • src/E13.Common.Data/E13.Common.Data.csproj: Language not supported

Comment thread src/E13.Common.Domain/DomainException.cs
Comment thread src/E13.Common.Data/DataException.cs
Comment thread build/cd.yml Outdated
Comment thread src/E13.Common.Data/docs/README.md Outdated
JJBussert and others added 4 commits April 16, 2025 08:21
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@JJBussert JJBussert merged commit 736b11d into e13tech:main Apr 16, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants