toValue method
Implementation
String toValue() {
switch (this) {
case ErrorCode.dependencyAccessDeniedError:
return 'DEPENDENCY_ACCESS_DENIED_ERROR';
case ErrorCode.dependencyThrottlingError:
return 'DEPENDENCY_THROTTLING_ERROR';
case ErrorCode.dependencyServiceError:
return 'DEPENDENCY_SERVICE_ERROR';
case ErrorCode.serviceQuotaNotAvailableError:
return 'SERVICE_QUOTA_NOT_AVAILABLE_ERROR';
}
}