Gurux.DLMS.GXDLMSException.GetStateError C# (CSharp) Method

GetStateError() private static method

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;
        }