Match against error first.
`_`-prefix unused locals.
Rework checks, decouple hostnames/hosts.