Code example that demonstrates handling of channel-level exceptions

[ci skip]