Refs #126 | Rename createErrorResponse functions to be more accurate