smartmontools SVN Rev 5611
Utility to control and monitor storage systems with "S.M.A.R.T."
Public Member Functions | Public Attributes | List of all members
smart_device::error_info Struct Reference

Error (number,message) pair. More...

#include <dev_interface.h>

Collaboration diagram for smart_device::error_info:
Collaboration graph

Public Member Functions

 error_info (int n=0)
 error_info (int n, const char *m)
void clear ()

Public Attributes

int no
 Error number.
std::string msg
 Error message.

Detailed Description

Error (number,message) pair.

Definition at line 52 of file dev_interface.h.

Constructor & Destructor Documentation

◆ error_info() [1/2]

smart_device::error_info::error_info ( int  n = 0)

Definition at line 53 of file dev_interface.h.

◆ error_info() [2/2]

smart_device::error_info::error_info ( int  n,
const char *  m 

Definition at line 55 of file dev_interface.h.

Member Function Documentation

◆ clear()

void smart_device::error_info::clear ( )

Definition at line 57 of file dev_interface.h.

Member Data Documentation

◆ msg

std::string smart_device::error_info::msg

Error message.

Definition at line 61 of file dev_interface.h.

◆ no

int smart_device::error_info::no

Error number.

Definition at line 60 of file dev_interface.h.

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