Updated error strings

Updated error strings to facilitate debugging register method.