Skip to content

Commit 2760b93

Browse files
authored
Merge pull request #19 from michaelborn/patch/validator-interface-error-message
fix: Correct validator interface error message
2 parents 62da75a + 4d7aff3 commit 2760b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interceptors/Security.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ component accessors="true" extends="coldbox.system.Interceptor" {
460460
variables.validator = arguments.validator;
461461
} else {
462462
throw(
463-
message = "Validator object does not have a 'userValidator()' and `annotationValidator()' methods. I can only register objects with these interface methods.",
463+
message = "Validator object requires either a 'ruleValidator()' or `annotationValidator()' method. I can only register objects with these interface methods.",
464464
type = "Security.ValidatorMethodException"
465465
);
466466
}

0 commit comments

Comments
 (0)