You’re reading an older version of the Slamcore SDK documenation. The latest one is 23.04.

File errors.hpp

SLAMcore specific error codes.

Internal error_code infrastructure.

static inline std::error_code make_error_code(errc e)
static inline std::error_condition make_error_condition(errc e)

Internal error_code infrastructure.

const std::error_category &get_error_category()

Enums

enum class errc

SLAMcore specific error codes. For typical system ones look for std::errc enum.

Values:

enumerator hardware_problem
enumerator device_not_open
enumerator device_already_open
enumerator device_not_running
enumerator device_already_running
enumerator not_initialized_yet
enumerator initialization_failure
enumerator input_data_problem
enumerator compression_format_not_supported
enumerator stream_not_supported
enumerator property_not_supported
enumerator property_is_read_only
enumerator wrong_type_for_property
enumerator unhandled_exception
enumerator no_odometry_listener
enumerator end_of_dataset
enumerator end_of_data
enumerator invalid_subsystem
namespace slamcore

Main namespace for the SLAMcore public API

Internal error_code infrastructure.

static inline std::error_code make_error_code(errc e)
static inline std::error_condition make_error_condition(errc e)

Get information about the client library

Helper conversion methods

slamcore::ImageFormat \(\leftrightarrow\) BytesPerPixel

Enums

enum class errc

SLAMcore specific error codes. For typical system ones look for std::errc enum.

Values:

enumerator hardware_problem
enumerator device_not_open
enumerator device_already_open
enumerator device_not_running
enumerator device_already_running
enumerator not_initialized_yet
enumerator initialization_failure
enumerator input_data_problem
enumerator compression_format_not_supported
enumerator stream_not_supported
enumerator property_not_supported
enumerator property_is_read_only
enumerator wrong_type_for_property
enumerator unhandled_exception
enumerator no_odometry_listener
enumerator end_of_dataset
enumerator end_of_data
enumerator invalid_subsystem
class slam_exception : public system_error
#include <errors.hpp>

SLAMcore exception type.

namespace detail

SLAMcore API internal namespace

Internal error_code infrastructure.

const std::error_category &get_error_category()
namespace std

Includes items that closely relate to std types