<!--
{
  "documentType" : "article",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/result-exceptions",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Result Exceptions"
}
-->

# Result Exceptions

Names of exceptions raised by `NSInvocationOperation` if there is an error when calling the [`result`](/documentation/Foundation/NSInvocationOperation/result) method.

## Topics

### Constants

[`NSInvocationOperationVoidResultException`](/documentation/Foundation/NSExceptionName/invocationOperationVoidResultException)

The name of the exception raised if the [`result`](/documentation/Foundation/NSInvocationOperation/result) method is called for an invocation method with a `void` return type.

[`NSInvocationOperationCancelledException`](/documentation/Foundation/NSExceptionName/invocationOperationCancelledException)

The name of the exception raised if the [`result`](/documentation/Foundation/NSInvocationOperation/result) method is called after the operation was cancelled.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)