Skip to content

Commit

Permalink
docs($q): document the default value for errorOnUnhandledRejections
Browse files Browse the repository at this point in the history
  • Loading branch information
gkalpak committed Dec 13, 2016
1 parent e9a4de0 commit d03cac4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ng/q.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ function $QProvider() {
*
* @description
* Retrieves or overrides whether to generate an error when a rejected promise is not handled.
* This feature is enabled by default.
*
* @param {boolean=} value Whether to generate an error when a rejected promise is not handled.
* @returns {boolean|ng.$qProvider} Current value when called without a new value or self for
Expand Down

0 comments on commit d03cac4

Please sign in to comment.