Dynamically creates Elixir exception modules from Python exception class names.
This enables pattern matching on Python exceptions:
rescue
e in SnakeBridge.DynamicException.ValueError ->
handle_value_error(e)
Summary
Functions
Creates an exception struct from a Python class name and message.
Gets or creates an exception module for a Python class name.
Functions
@spec create(String.t(), String.t() | nil, keyword()) :: Exception.t()
Creates an exception struct from a Python class name and message.
Gets or creates an exception module for a Python class name.