Global

Type Definitions

callback(erropt, nullable, dataopt, nullable) → {void}

The Node.js-style callback pattern used throughout the SDK.

Parameters:
Name Type Attributes Description
err BraintreeError <optional>
<nullable>

null or undefined if there was no error.

data any <optional>
<nullable>

The successful result of the asynchronous function call (if data exists).

Source: