 				errorMessage = "Invalid color ID provided"
 			case .parameterMissingColorID:
 				errorMessage = "Missing color ID parameter"
-			default: break
+			case .invalidRequestType:
+				errorMessage = "Invalid requestType provided"
 			}
 			var structure = [[String: NodeRepresentable]]()
 			structure.append(["responseType": "error",


enum BackendError: Error {
	case invalidUserID
	case noUserID
	case userIPBanned
	case parameterMissingX

			//And finally send this update out to other clients
			canvas.updateTileToClients(tile: canvas.tiles[Xcoord + Ycoord * canvas.width])
		}
		
		//Error handling
		func sendError(error: BackendError, socket: WebSocket) {
