errors: operate on error pointer like described in golang tour