pothos-library: better error reporting for BlockRegistry