Proper error handling for invalid params in WP8