Factor error handling in CoderByte Functions