exceptionの追加

This commit is contained in:
keita
2022-04-23 20:55:04 +09:00
parent bd7387eb90
commit f1c05a5c38
2 changed files with 24 additions and 0 deletions
@@ -0,0 +1,12 @@
#ifndef COCOATWEET_EXCEPTION_CREDENTIALNOTVERIFIEDEXCEPTION_H_
#define COCOATWEET_EXCEPTION_CREDENTIALNOTVERIFIEDEXCEPTION_H_
#include <cocoatweet/exception/exception.h>
namespace CocoaTweet::Exception {
class CredentialNotVerifiedException final : public Exception {
using Exception::Exception;
};
} // namespace CocoaTweet::Exception
#endif
@@ -0,0 +1,12 @@
#ifndef COCOATWEET_EXCEPTION_INVALIDATETOKENEXCEPTION_H_
#define COCOATWEET_EXCEPTION_INVALIDATETOKENEXCEPTION_H_
#include <cocoatweet/exception/exception.h>
namespace CocoaTweet::Exception {
class InvalidateTokenException final : public Exception {
using Exception::Exception;
};
} // namespace CocoaTweet::Exception
#endif