Simpler libcork error API

As of redjack/libcork#75, the libcork error API now only has (hash-based) error codes, rather than separate error classes/codes.