private static GetStateError ( ExceptionStateError stateError ) : string | ||
stateError | ExceptionStateError | |
return | string |
private static string GetStateError(ExceptionStateError stateError)
{
switch (stateError)
{
case ExceptionStateError.ServiceNotAllowed:
return "Service not allowed";
case ExceptionStateError.ServiceUnknown:
return "Service unknown";
}
return string.Empty;
}