Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def short_to_spiceypy_exception_class(short: str) -> Type[SpiceyError]:
"""
Lookup the correct Spice Exception class
:param short: Spice error system short description key
:return: SpiceyError
"""
return exceptions.get(short, SpiceyError)