I am building RESTful mobile app and I like the default behaviour when resource is not found. jQuery Mobile shows this:
//show error message $( "YOUR MESSAGE" ) .css({ "display": "block", "opacity": 0.96, "top": $(window).scrollTop() + 100 }) .appendTo( $.mobile.pageContainer ) .delay( 800 ) .fadeOut( 400, function() { $( this ).remove(); });