toValue method
Implementation
String toValue() {
switch (this) {
case WorldGenerationJobErrorCode.internalServiceError:
return 'InternalServiceError';
case WorldGenerationJobErrorCode.limitExceeded:
return 'LimitExceeded';
case WorldGenerationJobErrorCode.resourceNotFound:
return 'ResourceNotFound';
case WorldGenerationJobErrorCode.requestThrottled:
return 'RequestThrottled';
case WorldGenerationJobErrorCode.invalidInput:
return 'InvalidInput';
case WorldGenerationJobErrorCode.allWorldGenerationFailed:
return 'AllWorldGenerationFailed';
}
}