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> |
|
data |
any |
<optional> <nullable> |
The successful result of the asynchronous function call (if data exists). |