           type:    "GET",
           url:     @url,
           success: @recordsResponse(params)
+          error: @errorResponse(params)
     
   fetch: ->
     @findAll success: (records) =>


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

      @record.trigger("ajaxSuccess", @record, status, xhr)

      success?(@record)

  errorResponse: (params = {}) =>
    error = params.error

    (jqXHR, statusText, error) =>
      @record.trigger("ajaxError", @record, jqXHR, statusText, error)

      error?(@record)

# Ajax endpoint
Model.host = ""
