In case of error, return error in $@