You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicstaticOpenShockProblemHubNotFound=>new("Hub.NotFound","Hub not found",HttpStatusCode.NotFound);
10
+
publicstaticOpenShockProblemHubIsNotOnline=>new("Hub.NotOnline","Hub is not online",HttpStatusCode.NotFound);
11
+
publicstaticOpenShockProblemHubNotConnectedToGateway=>new("Hub.NotConnectedToGateway","Hub is not connected to a gateway",HttpStatusCode.PreconditionFailed,"Hub is online but not connected to a LCG node, you might need to upgrade your firmware to use this feature");
12
+
13
+
publicstaticOpenShockProblemTooManyHubs=>new("Hub.TooManyHubs","You have too many hubs",HttpStatusCode.Conflict,$"You have reached the maximum number of shockers for this hub ({HardLimits.MaxHubsPerUser})");
14
+
publicstaticOpenShockProblemTooManyShockers=>new("Hub.TooManyShockers","Hub has too many shockers",HttpStatusCode.BadRequest,$"You have reached the maximum number of shockers for this hub ({HardLimits.MaxShockersPerHub})");
0 commit comments