Called when the provider is called with invalid security type.
Source code in src/equities_classifier/matching/matchinghelper.py
@staticmethod
def other_error_with_message(
message: str,
raise_object: type[MatchingError] | None = None
) -> None:
"""Called when the provider is called with invalid security type."""
logger_equities_classifier.error(message)
if raise_object:
raise raise_object(message)