BioImager  3.9.1
A .NET microscopy imaging library. Supports various microscopes by using imported libraries & GUI automation. Supported libraries include PriorĀ® & ZeissĀ® & all devices supported by Micromanager 2.0 and python-microscope.
Loading...
Searching...
No Matches
microscope.LibraryLoadError Class Reference
Inheritance diagram for microscope.LibraryLoadError:
microscope.MicroscopeError

Detailed Description

Raised when the loading and initialisation of a device library fails.

This exception is raised when a shared library or DLL fails to load,
typically because the required library is not found or is missing
some required symbol.

If there is a module that is a straight wrapper to the C library
(there should be one on the `microscope._wrappers` package) then
this exception can easily be used chained with the exception that
originated it like so::

.. code-block:: python

    try:
        import microscope._wrappers.libname
    except Exception as e:
        raise microscope.LibraryLoadError(e) from e

Definition at line 106 of file __init__.py.


The documentation for this class was generated from the following file: