Logo

Cake Planner

Backend

app_helpers.hpp

File Header Information

FieldValue
SPDX CommentApplication Helpers Header
SPDX TypeSOURCE
ContributorZHENG Robert
License IDMIT
Fileapp_helpers.hpp
DescriptionApplication Helpers Header
Version0.15.0
Date2026-01-24
AuthorZHENG Robert (robert@hase-zheng.net)
CopyrightCopyright (c) 2026 ZHENG Robert
LicenseMIT

Table of Contents

API Documentation

namespace rz::utils

rz namespace.


inline void ensureDirectoryExists(const std::string& path)

Ensures that a directory exists, creates it if necessary.


namespace fs = std::filesystem

fs namespace.


inline crow::json::wvalue makeErrorJson(int code, const std::string& message)

Creates a standardized JSON error response object.