Sofware Developer, Bird Man, Sometime Pest

Slick Use Case For Active Patterns

So I love it when a very natural use case arises for a feature that I want to practice. I’ve been trying to better my understanding of active patterns lately and today I found a great use for them.

I’m fetching json data from a REST endpoint. Of course I get back a string. And the string contains some very specific text when there’s a problem processing the request on the server side. So I ended up doing something like this: