modified exceptions thrown from the rest client to be of type CosmoManagerRestCallError