toValue method
Implementation
String toValue() {
switch (this) {
case BackfillErrorCode.encryptedPartitionError:
return 'ENCRYPTED_PARTITION_ERROR';
case BackfillErrorCode.internalError:
return 'INTERNAL_ERROR';
case BackfillErrorCode.invalidPartitionTypeDataError:
return 'INVALID_PARTITION_TYPE_DATA_ERROR';
case BackfillErrorCode.missingPartitionValueError:
return 'MISSING_PARTITION_VALUE_ERROR';
case BackfillErrorCode.unsupportedPartitionCharacterError:
return 'UNSUPPORTED_PARTITION_CHARACTER_ERROR';
}
}