Skip to content

py5 exceptions policy - Which Processing exceptions can py5 catch and rephrase? #370

Answered by hx2A
villares asked this question in Q&A
Discussion options

You must be logged in to vote

where do the Processing maintainers keep those messages? Is it dispersed throughout the Java code base? Could/should we "scrap" those into a CSV for fiddling?

The error messages are all over the place, but for a lot of them there is a pattern to it. It wouldn't be that hard to extract all of them because we can look for the places where exceptions are raised.

we could have a database of Java exceptions we want to rephrase, if it's not there, just serve the original Java exception, would that be possible?

Right, that will be a good approach.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@villares
Comment options

villares Oct 16, 2023
Collaborator Author

@villares
Comment options

villares Oct 16, 2023
Collaborator Author

@hx2A
Comment options

hx2A Oct 16, 2023
Maintainer

Answer selected by villares
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants