We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fff7b3c commit 4d86b29Copy full SHA for 4d86b29
extension/apple/ExecuTorch/Exported/ExecuTorchError.h
@@ -62,7 +62,9 @@ NSString *ExecuTorchErrorDescription(ExecuTorchErrorCode code)
62
* @param code The ExecuTorchErrorCode to wrap.
63
* @return An NSError with ExecuTorchErrorDomain, the specified code, and a localized description.
64
*/
65
-FOUNDATION_EXPORT NSError *ExecuTorchErrorWithCode(ExecuTorchErrorCode code)
+FOUNDATION_EXPORT
66
+__attribute__((deprecated("This API is experimental.")))
67
+NSError *ExecuTorchErrorWithCode(ExecuTorchErrorCode code)
68
NS_SWIFT_NAME(Error(code:));
69
70
NS_ASSUME_NONNULL_END
0 commit comments