derelict.util.exception

Members

Aliases

MissingSymbolCallback
alias MissingSymbolCallback = bool function(string libName, string symbolName)

The MissingSymbolCallback allows the app to handle the case of missing symbols. By default, a SharedLibSymbolLoadException is thrown. However, if a the app determines that particular symbol is not needed, the callback can return true. This will cause the shared library to continue loading. Returning false will cause the exception to be thrown.

Classes

DerelictException
class DerelictException

Base class for all exceptions thrown by Derelict packages.

SharedLibLoadException
class SharedLibLoadException

This exception is thrown when a shared library cannot be loaded because it is either missing or not on the system path.

SymbolLoadException
class SymbolLoadException

This exception is thrown when a symbol cannot be loaded from a shared library, either because it does not exist in the library or because the library is corrupt.

Structs

FailedSharedLib
struct FailedSharedLib

Helper struct to facilitate throwing a single SharedLibException after failing to load a library using multiple names.

Meta