On this page
article
peary::device::InvalidInstanceError
peary::device::InvalidInstanceError
Exception class for running instance errors.
#include <peary/device/exceptions.hpp>
Inherits from peary::device::DeviceError, peary::utils::RuntimeError, peary::utils::Exception, std::exception
Public Functions
| Name | |
|---|---|
| InvalidInstanceError(std::string_view name)Constructor for InvalidInstanceError. |
Additional inherited members
Public Functions inherited from peary::device::DeviceError
| Name | |
|---|---|
| DeviceError(std::string_view reason)Constructor for DeviceError. |
Protected Functions inherited from peary::device::DeviceError
| Name | |
|---|---|
| DeviceError() =defaultDefault constructor for DeviceError This constructor is protected to prevent instantiation without a message. |
Public Functions inherited from peary::utils::RuntimeError
| Name | |
|---|---|
| RuntimeError(std::string what_arg)Constructor for RuntimeError. |
Protected Functions inherited from peary::utils::RuntimeError
| Name | |
|---|---|
| RuntimeError() =defaultDefault constructor for RuntimeError. |
Public Functions inherited from peary::utils::Exception
| Name | |
|---|---|
| Exception(std::string what_arg)Constructor for Exception. | |
| const char * | what() const overrideReturn the error message. |
Protected Functions inherited from peary::utils::Exception
| Name | |
|---|---|
| Exception() =defaultDefault constructor for Exception. |
Protected Attributes inherited from peary::utils::Exception
| Name | |
|---|---|
| std::string | _message |
Public Functions Documentation
function InvalidInstanceError
inline explicit InvalidInstanceError(
std::string_view name
)
Constructor for InvalidInstanceError.
Parameters:
- name The name of the running instance
Updated on 2025-11-14 at 11:31:23 +0100