Hex Casting

Hex Casting

7M Downloads

Improve hexdoc error message for unknown patterns

object-Object opened this issue ยท 0 comments

commented

self._patterns = [hex_ctx.patterns[self.op_id]]

If this lookup fails, the Pydantic error is very unhelpful: KeyError: (pattern id). We should add a better one.