 
   showSuccessfulBidMessage: =>
     window.location = @saleArtwork.artwork().bidSuccessUrl()
+
+  showError: (description, response = {}) =>
+    trackSnowplow 'bid', 'validation_error', @saleArtwork.artwork().get('_id'), 'artwork', undefined, { error_name: description }
+    super

BidderPosition = require '../../../models/bidder_position.coffee'
ErrorHandlingForm = require '../../../components/credit_card/client/error_handling_form.coffee'
{ SESSION_ID } = require('sharify').data

module.exports = class BidForm extends ErrorHandlingForm


      @saleArtwork.cleanBidAmount val

  placeBid: =>
    @timesPolledForBidPlacement = 0
    @$submit.addClass('is-loading')
    @clearErrors()
