Some repositories couldn't be updated, please check application logs for details.
BadCredentialsException: 401 {"message": "Bad credentials", "documentation_url": "https://docs.github.com/rest", "status": "401"}

aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/server/common/error.hpp
blob: cbfbb1ea58ec35daf137ec3d652cf3fa296688a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <stdexcept>
#include <string>

namespace math::server {

class Error : public std::runtime_error {
public:
    explicit Error(const std::string& what)
        : std::runtime_error{"server error: " + what}
    { }
};

}