throw more detailed exception on insert input validation

please use format here, too