toExecutionResultCode method
Implementation
ExecutionResultCode toExecutionResultCode() {
switch (this) {
case 'PARSING_FAILED':
return ExecutionResultCode.parsingFailed;
case 'VPC_ENDPOINT_SETUP_FAILED':
return ExecutionResultCode.vpcEndpointSetupFailed;
}
throw Exception('$this is not known in enum ExecutionResultCode');
}