Snap icon indicating copy to clipboard operation
Snap copied to clipboard

Either a problem with the 'catch errors' or the 'colors and crayons' libraries

Open ToonTalk opened this issue 2 years ago • 2 comments

image

What I want to do is check if some text is the name of a color. I could of course scrap together a list of 100s (or is it 1000s) of names.

ToonTalk avatar Nov 02 '22 01:11 ToonTalk

I think the problem is that SAFELY TRY doesn't catch user-code-generated errors.

brianharvey avatar Nov 02 '22 06:11 brianharvey

I think the problem is that SAFELY TRY doesn't catch user-code-generated errors.

Correct! I've tried testing this and user-generated errors override the safely try blocks.

joecooldoo avatar Nov 07 '22 16:11 joecooldoo