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.
2 parents 5ebff0a + 4d86b29 commit c40b0acCopy full SHA for c40b0ac
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