Full threadxkbarkar·strictly speaking you could use the must pattern and wrap err in there to avoid the constant if err != nilAlbeit it transfers repetition from one place to another.View on HN