diff --git a/extension/apple/ExecutorchRuntimeBridge/ExecutorchRuntimeBridge/Exported/ExecutorchRuntimeEngine.mm b/extension/apple/ExecutorchRuntimeBridge/ExecutorchRuntimeBridge/Exported/ExecutorchRuntimeEngine.mm index 365b7a148f0..1ebbefde3db 100644 --- a/extension/apple/ExecutorchRuntimeBridge/ExecutorchRuntimeBridge/Exported/ExecutorchRuntimeEngine.mm +++ b/extension/apple/ExecutorchRuntimeBridge/ExecutorchRuntimeBridge/Exported/ExecutorchRuntimeEngine.mm @@ -102,7 +102,7 @@ - (instancetype)initWithModelPath:(NSString *)modelPath return resultValues; } catch (...) { if (error) { - *error = [NSError errorWithDomain:@"LiteInterpreterRuntimeEngine" + *error = [NSError errorWithDomain:@"ExecutorchRuntimeEngine" code:kInferenceFailed userInfo:@{NSDebugDescriptionErrorKey : @"Unknown error"}]; }