struct Status

Declaration

struct Status { /* full declaration omitted */ };

Description

Wraps a status code and string message carrying additional context.

Declared at: mcap/include/mcap/errors.hpp:36

Member Variables

public mcap::StatusCode code
public std::string message

Method Overview

  • public Status()
  • public Status(mcap::StatusCode code)
  • public Status(mcap::StatusCode code, const std::string & message)
  • public bool ok() const

Methods

Status()

Declared at: mcap/include/mcap/errors.hpp:40

Status(mcap::StatusCode code)

Declared at: mcap/include/mcap/errors.hpp:43

Parameters

mcap::StatusCode code

Status(mcap::StatusCode code,
       const std::string& message)

Declared at: mcap/include/mcap/errors.hpp:111

Parameters

mcap::StatusCode code
const std::string& message

bool ok() const

Declared at: mcap/include/mcap/errors.hpp:115