Skip to content

Commit

Permalink
Added reference to Quick#220 in README
Browse files Browse the repository at this point in the history
Which explains more in detail about the differences between exceptions and errors.
  • Loading branch information
jeffh committed Jan 19, 2016
1 parent eb2bfc7 commit b249d64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ exception once evaluated:
// Note: Swift currently doesn't have exceptions.
// Only Objective-C code can raise exceptions
// that Nimble will catch.
// (see https://github.com/Quick/Nimble/issues/220#issuecomment-172667064)
let exception = NSException(
name: NSInternalInconsistencyException,
reason: "Not enough fish in the sea.",
Expand Down Expand Up @@ -728,7 +729,7 @@ expect(actual).to(raiseException().satisfyingBlock(^(NSException *exception) {
}));
```
Note: Swift currently doesn't have exceptions. Only Objective-C code can raise
Note: Swift currently doesn't have exceptions (see [#220](https://github.com/Quick/Nimble/issues/220#issuecomment-172667064)). Only Objective-C code can raise
exceptions that Nimble will catch.
## Collection Membership
Expand Down

0 comments on commit b249d64

Please sign in to comment.