diff options
Diffstat (limited to 'Sluift/Helpers.h')
-rw-r--r-- | Sluift/Helpers.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Sluift/Helpers.h b/Sluift/Helpers.h new file mode 100644 index 0000000..41bfc97 --- /dev/null +++ b/Sluift/Helpers.h @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2013-2017 Isode Limited. + * All rights reserved. + * See the COPYING file for more information. + */ + +#pragma once + +#include <string> + +#include <Swiften/Base/API.h> + +namespace Swift { + class ClientError; + class ComponentError; + + std::string getErrorString(const ClientError& error); + std::string getErrorString(const ComponentError& error); +} |