I have some checks to do before returning a response to the user in controller: checking file existence in S3, checking some DB fields, checking results from external API’s. My question, how to best arrange the checks? I can use nested case statements but that does not look good. Any ideas?! Thank you.






















