Skip to content

Commit

Permalink
notification: Make a bit of fromAPNsImpl's jsdoc more precise.
Browse files Browse the repository at this point in the history
As Greg says [1],

> Probably "interesting" wasn't a very clear way to write that
> description; the distinction that I think it's intended to get at
> is "unexpected", as in "buggy".

[1] #4163 (comment)
  • Loading branch information
chrisbobbe committed Jun 17, 2021
1 parent 4636572 commit f5ff635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/notification/extract.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class ApnsMsgValidationError extends Error {
// APNs notification.
//
// @returns A `Notification` on success, `undefined` on suppressible failure.
// @throws An ApnsMsgValidationError on interesting failure.
// @throws An ApnsMsgValidationError on unexpected failure.
//
export const fromAPNsImpl = (rawData: JSONableDict): Notification | void => {
/** Helper function: fail. */
Expand Down

0 comments on commit f5ff635

Please sign in to comment.