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–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 3.0.
https://code.angularjs.org/1.8.2/docs/api/ng/provider/$qProvider