ControlNetworkLoader.h: Error checking