this is like if err1 != nil{
    err2 := foo()
    if err2 != nil{
        bar()
    }

the alternate path is returning the error