Skip to content

Introduce own exception for assertions - #222

Merged
Nyholm merged 3 commits into
webmozarts:masterfrom
andrew-demb:own-exception
Mar 7, 2021
Merged

Introduce own exception for assertions#222
Nyholm merged 3 commits into
webmozarts:masterfrom
andrew-demb:own-exception

Conversation

@andrew-demb

Copy link
Copy Markdown
Contributor

May be helpful for catching only exceptions related to this package without the risk to catch another not related exceptions.

Ref #202

@Ocramius Ocramius left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Overall LGTM, but we really need to put a nail on the coffin of exception overrides (still possible, really bad idea, and to be deprecated/removed).

@Nyholm

Nyholm commented Jan 16, 2021

Copy link
Copy Markdown
Contributor

Hm.. Interesting. I was sure we already did this.

@Nyholm Nyholm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Found it!

I was thinking of this #19.

I am happy with this PR.

@Nyholm

Nyholm commented Jan 18, 2021

Copy link
Copy Markdown
Contributor

Could you please rebase this PR?

@andrew-demb

Copy link
Copy Markdown
Contributor Author

Rebased.

@Nyholm
Nyholm requested a review from BackEndTea January 18, 2021 14:27
@Nyholm

Nyholm commented Jan 18, 2021

Copy link
Copy Markdown
Contributor

Thank you.

Im 👍

@Nyholm

Nyholm commented Mar 7, 2021

Copy link
Copy Markdown
Contributor

Thank you

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.

4 participants