SecurityError#
- exception scikitplot.cython.SecurityError(message, *, field=None)[source]#
Raised when a build input violates the active
SecurityPolicy.Inherits from
ValueErrorso callers that catchValueErrorcontinue to work without modification.- Parameters:
- messagestr
Human-readable description of the violation.
- fieldstr or None
Name of the build parameter that triggered the violation.
- Parameters:
- Return type:
None
Notes
Do NOT catch
SecurityErrorgenerically and continue — treat it as a hard stop. The error message always describes what violated which rule so developers can fix inputs rather than silencing errors.