 
   request: (params) ->
     success = params.success
+    error = params.error
+    params.error= =>
+      error?(arguments...)
+      @requestNext()
     params.success = =>
       success?(arguments...)
       @requestNext()

          data:    JSON.stringify(@record)
          url:     @base
          success: @recordResponse(params)

  update: (params) ->
    @send params,

          data:    JSON.stringify(@record)
          url:     @url
          success: @recordResponse(params)
          error: @errorResponse(params)

  
  destroy: (params) ->
    @send params,
          type:    "DELETE"
          url:     @url
          success: @blankResponse(params)
          error: @errorResponse(params)
  
  # Private

  recordResponse: (params = {}) =>
    success = params.success
  
