netcmd: domain: add model exceptions and error handling