class axl::err::ErrorMgr

#include <axl_err_ErrorMgr.h>

class ErrorMgr: public axl::err::ErrorRouter
{
public:
    // structs

    struct ThreadEntry;

    // construction

    ErrorMgr();

    // methods

    void
    registerProvider(
        const sl::Guid& guid,
        ErrorProvider* provider
        );

    ErrorProvider*
    findProvider(const sl::Guid& guid);

    ErrorRouter*
    getRouter();

    void
    setRouter(ErrorRouter* router);

    ErrorRef
    getLastError();

    void
    setError(const ErrorRef& error);

    sl::StringRef
    getErrorDescription(const ErrorRef& error);
};

Inherited Members

public:
    // methods

    virtual
    void
    routeError(const ErrorHdr* error) = 0;

    virtual
    const char*
    routeErrorDescription(const ErrorHdr* error) = 0;