bn.onError
• onError: (cb: AppErrorCallback) => void
Type declaration
▸ (cb): void
Parameters
| Name | Type |
|---|---|
cb | AppErrorCallback |
Returns
void
AppErrorCallback
Ƭ AppErrorCallback: (error: string) => void
Type declaration
▸ (error): void
Parameters
| Name | Type |
|---|---|
error | string |
Returns
void