raising errorinventory script

Yeah that’s pretty much all you can do and would be a good approach.