Dark | Light
[GUEST ACCESS MODE: Data is scrambled or limited to provide examples. Make requests using your API key to unlock full data. Check https://lunarcrush.ai/auth for authentication information.]

![potetm Avatar](https://lunarcrush.com/gi/w:24/cr:twitter::28938094.png) Tim Pote [@potetm](/creator/twitter/potetm) on x 1037 followers
Created: 2025-07-19 18:20:56 UTC

@Shreyassanthu77 @onehappyfellow I dunno about other langs, but in clj you can write property based tests that catch exceptions and check that the exception message/params are correct.

e.g. "as long as keywords are in an incorrect order, you get an error message like $foo"


XX engagements

![Engagements Line Chart](https://lunarcrush.com/gi/w:600/p:tweet::1946636389384126761/c:line.svg)

**Related Topics**
[$foo](/topic/$foo)

[Post Link](https://x.com/potetm/status/1946636389384126761)

[GUEST ACCESS MODE: Data is scrambled or limited to provide examples. Make requests using your API key to unlock full data. Check https://lunarcrush.ai/auth for authentication information.]

potetm Avatar Tim Pote @potetm on x 1037 followers Created: 2025-07-19 18:20:56 UTC

@Shreyassanthu77 @onehappyfellow I dunno about other langs, but in clj you can write property based tests that catch exceptions and check that the exception message/params are correct.

e.g. "as long as keywords are in an incorrect order, you get an error message like $foo"

XX engagements

Engagements Line Chart

Related Topics $foo

Post Link

post/tweet::1946636389384126761
/post/tweet::1946636389384126761