Convert MsgGetHeaders errors to MessageError type.