Type Definitions
errback(errnullable, datanullable)
The Node.js-style callback pattern used throughout the SDK.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
err |
BraintreeError |
<nullable> |
null if there was no error |
data |
any |
<nullable> |
The successful result of the asynchronous function call |
errorCallback(errnullable)
Similar to errback, though no data is expected.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
err |
BraintreeError |
<nullable> |
null if there was no error |