can.List.prototype.reason property {*} source * The reason the list's deferred was rejected. Read it via attr. Use var def = new can.Deferred(); var list = new can.List( def ); list.fail(function(){ list.attr("reason") //-> {message: "epic fail"} }); def.reject({message: "epic fail"});
Use