If I have a bunch of error codes I'm stringing through say:
var error = "yup_you_messed_up"
do I just have a bunch of statements:
queryparam("error") = "awesome" run statement
queryparam("error") = "yup_you_messed_up" run statement
or do I add an else for each line:
queryparam("error") = "awesome" run statement
else
queryparam("error") = "yup_you_messed_up" run statement
Is there a right way to do this? I want to check for about 30 error codes altogether.