
Public Types | |
| enum | ResourceState { NotEnoughMemory = 1, FileNotFound, BufferTooSmall, InterfaceNotFound, InterfaceDetailNotFound, DeviceNotAvailable, DeviceLost, ConfigurationNotFound } |
| Resource error states. More... | |
Public Member Functions | |
| ResourceState | GetState () |
| Gets the error state. | |
| virtual wstring | GetText () |
| Gets a verbose description of the error. | |
| ResourceError (wstring Function, ResourceState State, unsigned int WinError=0) | |
| Constructor. | |
Protected Attributes | |
| ResourceState | m_State |
| EasyUSB::Errors::ResourceError::ResourceError | ( | wstring | Function, | |
| ResourceState | State, | |||
| unsigned int | WinError = 0 | |||
| ) |
Constructor.
| Function | The function in which the error occured. | |
| State | The error state. | |
| WinError | The windows error code, if available. |
| ResourceState EasyUSB::Errors::ResourceError::GetState | ( | ) | [inline] |
Gets the error state.
| virtual wstring EasyUSB::Errors::ResourceError::GetText | ( | ) | [virtual] |
Gets a verbose description of the error.
Reimplemented from EasyUSB::Errors::Error.
Reimplemented in EasyUSB::Errors::DeviceLost.
ResourceState EasyUSB::Errors::ResourceError::m_State [protected] |
1.5.6