Repos
C++
467 B16 lines Opens in site
Directory
Raw
Download
#pragma once
// Spec: shell.md section 7 (DevPlaceError). Local errors of the data layer, message exactly as in Swift.
#include <string>
#include "core/Result.hpp"
namespace dp {
class DevPlaceError {
public:
static Error notLoggedIn(); // "Not logged in"
static Error invalidUrl(const std::string& url); // "Invalid URL: <url>"
static Error postNotEditable(); // "This post cannot be edited"
};
} // namespace dp