Improve this Doc View Source $qProvider

  1. $q
  2. provider in module ng

Overview

Methods

  • errorOnUnhandledRejections([value]);

    Retrieves or overrides whether to generate an error when a rejected promise is not handled. This feature is enabled by default.

    Parameters

    Param Type Details
    value
    (optional)
    boolean

    Whether to generate an error when a rejected promise is not handled.

    Returns

    booleanng.$qProvider

    Current value when called without a new value or self for chaining otherwise.

© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.7.8/docs/api/ng/provider/$qProvider