pothos-library: use block name in the error message