We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently (2015-04-16) Promissum only uses NSError for errors.
NSError
By changing the type Promise<T> to Promise<Value, Error> a custom error type can be provided.
Promise<T>
Promise<Value, Error>
This would allow for more type-safe, fine grained error handling.
The text was updated successfully, but these errors were encountered:
For reference, this is being worked on in the feature/error-type branch.
Sorry, something went wrong.
This is now in the Swift 2 branch #9. To be merged when Swift 2 is out of beta.
No branches or pull requests
Currently (2015-04-16) Promissum only uses
NSError
for errors.By changing the type
Promise<T>
toPromise<Value, Error>
a custom error type can be provided.This would allow for more type-safe, fine grained error handling.
The text was updated successfully, but these errors were encountered: