How to use the smmap.exc.MemoryManagerError function in smmap

To help you get started, we’ve selected a few smmap examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github gitpython-developers / smmap / smmap / exc.py View on Github external
"""Module with system exceptions"""


class MemoryManagerError(Exception):

    """Base class for all exceptions thrown by the memory manager"""


class RegionCollectionError(MemoryManagerError):

    """Thrown if a memory region could not be collected, or if no region for collection was found"""