Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom exceptions #387

Merged
merged 1 commit into from
Jan 6, 2025
Merged

Conversation

landinjm
Copy link
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
2 of 3 checks passed
@landinjm landinjm deleted the prisms_assertions branch January 6, 2025 20:16
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