probcomp / inferenceql.viz

Apache License 2.0
1 stars 0 forks source link

feat: make spec-checking functions more flexible #121

Closed harishtella closed 2 years ago

harishtella commented 2 years ago

This allows check-spec to take different keywords representing different specs to check the db against.

This allows check-and-throw to take a different error message when a spec fails.

Motivation: To be able to reuse some of the functionality in this interceptors file in iql.viz.stream to check against a different db spec and provide different errors..