Skip to content

Custom exceptions#387

Merged
landinjm merged 1 commit intoprisms-center:develfrom
landinjm:prisms_assertions
Jan 6, 2025
Merged

Custom exceptions#387
landinjm merged 1 commit intoprisms-center:develfrom
landinjm:prisms_assertions

Conversation

@landinjm
Copy link
Copy Markdown
Contributor

@landinjm landinjm commented Jan 6, 2025

Description

Added a custom exception to provide to deal.II's Assert and AssertThrow. In this case it's for features that haven't been implemented yet. It takes some context string to provide the user information as to what feature is not implemented.

This can be extended for other common exceptions that we may have.

In the future include <core/exceptions.h> rather than <deal.II/base/exceptions.h>

Closes #384

Checklist

Miscellaneous items that may need to be done when making a PR:

  • Documentation related to this PR is up to date (Doxygen format)
  • Unit test(s)
  • Code is properly formatted
  • Application update script is up to date
  • PR labels are applied
  • Issues are linked

@landinjm landinjm merged commit 80e6998 into prisms-center:devel Jan 6, 2025
@landinjm landinjm deleted the prisms_assertions branch January 6, 2025 20:16
landinjm added a commit that referenced this pull request Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant