diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-07-12 02:16:45 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-07-12 02:16:45 +0800 |
commit | 17c34716f99616066d3a4cec3256cdc4d0b96667 (patch) | |
tree | 65709baafbff96194a0d42f7ffa11ae4c2e33275 /packages/connect/src/types.ts | |
parent | e12f7c3026dd513a6444092ea7654598c71548ae (diff) | |
download | dexon-0x-contracts-17c34716f99616066d3a4cec3256cdc4d0b96667.tar dexon-0x-contracts-17c34716f99616066d3a4cec3256cdc4d0b96667.tar.gz dexon-0x-contracts-17c34716f99616066d3a4cec3256cdc4d0b96667.tar.bz2 dexon-0x-contracts-17c34716f99616066d3a4cec3256cdc4d0b96667.tar.lz dexon-0x-contracts-17c34716f99616066d3a4cec3256cdc4d0b96667.tar.xz dexon-0x-contracts-17c34716f99616066d3a4cec3256cdc4d0b96667.tar.zst dexon-0x-contracts-17c34716f99616066d3a4cec3256cdc4d0b96667.zip |
Provide subscriptionOpts in error callback and include url in error messages
Diffstat (limited to 'packages/connect/src/types.ts')
-rw-r--r-- | packages/connect/src/types.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/connect/src/types.ts b/packages/connect/src/types.ts index 7347beb0b..fc7a4b24d 100644 --- a/packages/connect/src/types.ts +++ b/packages/connect/src/types.ts @@ -39,7 +39,7 @@ export interface OrderbookChannelHandler { subscriptionOpts: OrderbookChannelSubscriptionOpts, order: SignedOrder, ) => void; - onError: (channel: OrderbookChannel, err: Error) => void; + onError: (channel: OrderbookChannel, err: Error, subscriptionOpts?: OrderbookChannelSubscriptionOpts) => void; onClose: (channel: OrderbookChannel) => void; } |