A security rule was violated — XSS-shaped content, a disallowed URL protocol, a non-image
data URL.
Code: SECURITY_ERROR. Worth catching separately from ValidationError: this one
marks input that was actively rejected, not merely malformed, and is usually worth logging.
A security rule was violated — XSS-shaped content, a disallowed URL protocol, a non-image data URL.
Code:
SECURITY_ERROR. Worth catching separately from ValidationError: this one marks input that was actively rejected, not merely malformed, and is usually worth logging.Example