Update archive_wal_lib.sh

Re describing function for if_error code with more detail