Updated hex argument error-handling cases