raise error with message for -1,2,-9