When i call api from web application to list all packages related to obtained special package code from user, api checks whether exists the package code in database or not, if exists api returns array object, if not what is the correct way to handle displayin warning about non existence. api should i return an empty array or send an error code like “packagenotfound”