Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
Public Member Functions | Static Public Member Functions | List of all members
rs2::error Class Reference

#include <rs_types.hpp>

Inheritance diagram for rs2::error:

Public Member Functions

 error (rs2_error *err)
 
 error (const std::string &message)
 
const std::string & get_failed_function () const
 
const std::string & get_failed_args () const
 
rs2_exception_type get_type () const
 

Static Public Member Functions

static void handle (rs2_error *e)
 

Constructor & Destructor Documentation

◆ error() [1/2]

rs2::error::error ( rs2_error err)
inlineexplicit

◆ error() [2/2]

rs2::error::error ( const std::string &  message)
inlineexplicit

Member Function Documentation

◆ get_failed_args()

const std::string& rs2::error::get_failed_args ( ) const
inline

◆ get_failed_function()

const std::string& rs2::error::get_failed_function ( ) const
inline

◆ get_type()

rs2_exception_type rs2::error::get_type ( ) const
inline

◆ handle()

void rs2::error::handle ( rs2_error e)
inlinestatic

The documentation for this class was generated from the following file: