func (_Exchange *ExchangeFilterer) WatchLogCancelOrderError(opts *bind.WatchOpts, sink chan<- *ExchangeLogCancelOrderError) (event.Subscription, error) {

	logs, sub, err := _Exchange.contract.WatchLogs(opts, "LogCancelOrderError")
	if err != nil {
		return nil, err
	}
	return event.NewSubscription(func(quit <-chan struct{}) error {
		defer sub.Unsubscribe()
		for {
			select {
			case log := <-logs:
				// New log arrived, parse the event and forward to the user
				event := new(ExchangeLogCancelOrderError)
				if err := _Exchange.contract.UnpackLog(event, "LogCancelOrderError", log); err != nil {
					return err
				}
				event.Raw = log

				select {
				case sink <- event:
				case err := <-sub.Err():
					return err
				case <-quit:
					return nil
				}
			case err := <-sub.Err():
				return err
			case <-quit:
				return nil
			}
		}
	}), nil
}
// WatchLogCancelOrderError is a free log subscription operation binding the contract event 0x7ef163ecf30d829e41f9072c51c9adf6f08f414d8b8a71319eb7ceca54bee2da.
//
// Solidity: e LogCancelOrderError(errorId uint8, orderHash bytes32)


e LogCancelOrderError(errorId uint8, orderHash bytes32)
// WatchLogCancelOrderError is a free log subscription operation binding the contract event 0x7ef163ecf30d829e41f9072c51c9adf6f08f414d8b8a71319eb7ceca54bee2da . // // Solidity : e LogCancelOrderError ( errorId uint8 orderHash bytes32 )
func (_Exchange *ExchangeFilterer) WatchLogCancelOrderError(opts *bind.WatchOpts, sink chan<- *ExchangeLogCancelOrderError) (event.Subscription, error) {
	logs, sub, err := _Exchange.contract.WatchLogs(opts, "LogCancelOrderError")
	if err != nil {
		return nil, err
	}
	return event.NewSubscription(func(quit <-chan struct{}) error {
		defer sub.Unsubscribe()
		for {
			select {
			case log := <-logs:
				event := new(ExchangeLogCancelOrderError)
				if err := _Exchange.contract.UnpackLog(event, "LogCancelOrderError", log); err != nil {
					return err
				}
				event.Raw = log
				select {
				case sink <- event:
				case err := <-sub.Err():
					return err
				case <-quit:
					return nil
				}
			case err := <-sub.Err():
				return err
			case <-quit:
				return nil
			}
		}
	}), nil
}
func ( _Exchange * ExchangeFilterer ) WatchLogCancelOrderError ( opts * bind . WatchOpts , sink chan <- * ExchangeLogCancelOrderError ) ( event . Subscription , error ) { logs , sub , err := _Exchange . contract . WatchLogs ( opts , " " ) if err != nil { return nil , err } return event . NewSubscription ( func ( quit <- chan struct { } ) error { defer sub . Unsubscribe ( ) for { select { case log := <- logs : event := new ( ExchangeLogCancelOrderError ) if err := _Exchange . contract . UnpackLog ( event , " " , log ) ; err != nil { return err } event . Raw = log select { case sink <- event : case err := <- sub . Err ( ) : return err case <- quit : return nil } case err := <- sub . Err ( ) : return err case <- quit : return nil } } } ) , nil }
// New log arrived, parse the event and forward to the user