KaCanOpen
 All Classes Functions Variables Typedefs Enumerations Pages
Public Member Functions | List of all members
kaco::canopen_error Class Reference

This is the base class of all types of exceptions thrown by the KaCanOpen library. It can be used directly like std::runtime_error if there isn't any more specific error class. More...

#include <canopen_error.h>

Inheritance diagram for kaco::canopen_error:
Inheritance graph
[legend]
Collaboration diagram for kaco::canopen_error:
Collaboration graph
[legend]

Public Member Functions

 canopen_error (std::string what)
 Constructor. More...
 
virtual ~canopen_error ()
 Destructor.
 

Detailed Description

This is the base class of all types of exceptions thrown by the KaCanOpen library. It can be used directly like std::runtime_error if there isn't any more specific error class.

Examples:
examples/master.cpp.

Definition at line 43 of file canopen_error.h.

Constructor & Destructor Documentation

kaco::canopen_error::canopen_error ( std::string  what)
inlineexplicit

Constructor.

Parameters
whatError description

Definition at line 49 of file canopen_error.h.


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