Hacker News new | ask | show | jobs
by mcronce 1514 days ago
"Bubbling up" is common parlance for "exit this function early and return the error we got from our callee" (or "wrap the error we got from our callee and return that")

In Go, this looks like

   thing, err := call()
   if err != nil {
       return nil, er
   }
In Rust, this looks like

   let thing = call()?;
1 comments

People keep telling me this is common nomenclature but I have never heard of it until today.