How to use the launchdarkly-js-sdk-common.errors function in launchdarkly-js-sdk-common

To help you get started, we’ve selected a few launchdarkly-js-sdk-common examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github launchdarkly / js-client-sdk / src / GoalManager.js View on Github external
.catch(err => {
      clientVars.emitter.maybeReportError(
        new common.errors.LDUnexpectedResponseError('Error fetching goals: ' + (err && err.message) ? err.message : err)
      );
      readyCallback();
    });

launchdarkly-js-sdk-common

LaunchDarkly SDK for JavaScript - common code

Apache-2.0
Latest version published 5 days ago

Package Health Score

83 / 100
Full package analysis