19#ifndef CPPREALM_BRIDGE_REALM_STATUS_HPP
20#define CPPREALM_BRIDGE_REALM_STATUS_HPP
22#include <cpprealm/internal/bridge/utils.hpp>
28namespace realm::internal::bridge {
60 unsigned m_error_category = 0;
65 status(const ::realm::Status&);
73 bool is_ok()
const noexcept;
74 const std::string& reason()
const noexcept;
75 std::string_view code_string()
const noexcept;
76 operator ::realm::Status()
const noexcept;
78#ifdef CPPREALM_HAVE_GENERATED_BRIDGE_TYPES
79 storage::Status m_status[1];
81 std::shared_ptr<Status> m_status;
Definition: status.hpp:30
Definition: status.hpp:63
Definition: sync_error.hpp:40