Replying to @TristanIsham
You could panic if the parent scope doesn’t return an error. If used in an “if block”: `if try err` could behave exactly like `if err == nil` In a switch statement it could mimic “switch err.(type)” -> “switch try err”
Replying to @TristanIsham
You could panic if the parent scope doesn’t return an error. If used in an “if block”: `if try err` could behave exactly like `if err == nil` In a switch statement it could mimic “switch err.(type)” -> “switch try err”