Repair error description messages

Error messages for credential creation result in 'undefined' because the error object doesn't have a data key. This *should* fix error messages during credential creation.