AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Is There a Way to Override the Error Tuple Pattern?
A lot of people suggest to reach for struts rather and say okay package it up in struts which are self-explanatory. It gives the same level of context to your calling APIs instead of having these people in nested tuples you sometimes see. I've been guilty of to do myself to be honest that would be like so if you have an error tuple done the second argument with or the second value would definitely be the error struct right yeah?