Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

You could use a simple try / catch statement like so:

try {
this.mySprite.setSprite( "Path/To/Sprite" );
} catch( error ) {
Sup.log( error ); //Something went wrong, most likely the path to the asset doesn't exist
}