This removes usage of raw error messages that are not part of identity search message types.
Depends on D10945
ran and verified on local dev through cargo run
rebase