set casn_er_struct values before calling casn_error()
set casn_er_struct values before calling casn_error()

This way casn_error() has access to the casn_err_struct values.

rhansen/rpstir,rhansen/rpstir,rhansen/rpstir,rhansen/rpstir,rhansen/rpstir