Raise a HERMESUserWarning.
HERMESUserWarning
msg (str) – Warning message.
stacklevel (int) – This is interpreted relative to the call to this function, e.g. stacklevel=1 (the default) sets the stack level in the code that calls this function.
stacklevel=1
warn_user()
warn_deprecated
HERMESDeprecationWarning