aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/tvmauth/client/exception.h
blob: 43de506f4ec938fd4d89999443a5e73f6bbdfe4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#pragma once

#include <library/cpp/tvmauth/exception.h>

namespace NTvmAuth {
    class TClientException: public TTvmException {
    };

    class TInternalException: public TTvmException {
    };

    class TRetriableException: public TClientException {
    };
    class TNonRetriableException: public TClientException {
    };

    class TNotInitializedException: public TClientException {
    };

    class TIllegalUsage: public TNonRetriableException {
    };

    class TBrokenTvmClientSettings: public TIllegalUsage {
    };
    class TMissingServiceTicket: public TNonRetriableException {
    };
    class TPermissionDenied: public TNonRetriableException {
    };
}