mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-05-07 19:47:12 +02:00
Switched to POCO library for unified platform/library interface. Deprecated the external module API. It was creating more problems than solving. Removed most built-in libraries in favor of system libraries for easier maintenance. Cleaned and secured code with help from static analyzers.
37 lines
572 B
C++
37 lines
572 B
C++
//
|
|
// Exception.h
|
|
//
|
|
// Library: Redis
|
|
// Package: Redis
|
|
// Module: Exception
|
|
//
|
|
// Definition of the Exception class.
|
|
//
|
|
// Copyright (c) 2015, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#ifndef Redis_Exception_INCLUDED
|
|
#define Redis_Exception_INCLUDED
|
|
|
|
|
|
#include "Poco/Redis/Redis.h"
|
|
#include "Poco/Exception.h"
|
|
#include <typeinfo>
|
|
|
|
|
|
namespace Poco {
|
|
namespace Redis {
|
|
|
|
|
|
POCO_DECLARE_EXCEPTION(Redis_API, RedisException, Exception)
|
|
|
|
|
|
} } // namespace Poco::Redis
|
|
|
|
|
|
#endif // Redis_Exception_INCLUDED
|