add several error throws