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