Might be worth the library throwing a RuntimeException here so that the error can be picked up in development before using the validator.