On this page
article
peary::interface::WriteError
peary::interface::WriteError
Inherits from peary::interface::CommunicationError, peary::interface::InterfaceError, peary::utils::RuntimeError, peary::utils::Exception, std::exception
Public Functions
| Name | |
|---|---|
| template <typename EndpointType ,typename RegisterType ,typename DataType > | WriteError(Endpoint< EndpointType, RegisterType, DataType > * endpoint, std::string_view reason) |
Additional inherited members
Public Functions inherited from peary::interface::CommunicationError
| Name | |
|---|---|
| CommunicationError(std::string_view reason)Constructor for CommunicationError. |
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 WriteError
template <typename EndpointType ,
typename RegisterType ,
typename DataType >
WriteError(
Endpoint< EndpointType, RegisterType, DataType > * endpoint,
std::string_view reason
)
Updated on 2026-01-30 at 22:01:05 +0100