Fix ajax to always expect an Error object, per #10646.
Fix ajax to always expect an Error object, per #10646.

diracdeltas/jquery,roytoo/jquery,gnarf/jquery,jcutrell/jquery,RubyLouvre/jquery,isaacs/jquery,jquery/jquery,dtjm/jquery,jcutrell/jquery,chitranshi/jquery,jquery/jquery,npmcomponent/component-jquery,eburgos/jquery,fat/jquery,RubyLouvre/jquery,demetr84/Jquery,Karyotyper/jquery,sancao2/jquery,hoorayimhelping/jquery,dtjm/jquery,sancao2/jquery,diracdeltas/jquery,eburgos/jquery,isaacs/jquery,jquery/jquery,sancao2/jquery,quiaro/request-agent,roytoo/jquery,Karyotyper/jquery,gnarf/jquery,rwaldron/jquery,fat/jquery,praveen9102/Shazam,roytoo/jquery,hoorayimhelping/jquery,chitranshi/jquery,diracdeltas/jquery,eburgos/jquery,npmcomponent/component-jquery,Karyotyper/jquery,praveen9102/Shazam,rwaldron/jquery,demetr84/Jquery