Skip to content

Simple example of validator returning FailResult throws Cannot extend enumerations error #1224

Closed Answered by widgetface
widgetface asked this question in Q&A
Discussion options

You must be logged in to vote

My apologies , the issue arose because I used

Guard().use(input_validator.InputValidator(on_fail=OnFailAction))

I should have used

Guard().use(input_validator.InputValidator(on_fail="exception"))

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@CalebCourier
Comment options

@CalebCourier
Comment options

@widgetface
Comment options

Answer selected by CalebCourier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants