|
PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
|
Declares exceptions and error types used by the PROFINET IO controller stack. More...
#include <cstdint>#include <span>#include <stdexcept>#include <string>
Include dependency graph for exceptions.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | profinet::ProfinetError |
| Base exception for all PROFINET errors. More... | |
| class | profinet::DCPError |
| DCP protocol errors. More... | |
| class | profinet::DCPTimeoutError |
| DCP operation timed out. More... | |
| class | profinet::DCPDeviceNotFoundError |
| Device not found via DCP. More... | |
| class | profinet::RPCError |
| DCE/RPC protocol errors. More... | |
| class | profinet::RPCTimeoutError |
| RPC operation timed out. More... | |
| class | profinet::RPCFaultError |
| RPC returned a fault response. More... | |
| class | profinet::RPCConnectionError |
| Failed to establish RPC connection. More... | |
| class | profinet::ValidationError |
| Input validation error. More... | |
| class | profinet::InvalidMACError |
| Invalid MAC address format. More... | |
| class | profinet::InvalidIPError |
| Invalid IP address format. More... | |
| class | profinet::SocketError |
| Socket operation error. More... | |
| class | profinet::PermissionDeniedError |
| Insufficient permissions for raw socket. More... | |
| class | profinet::PNIOError |
| PNIO application error with error codes. More... | |
Namespaces | |
| namespace | profinet |
Functions | |
| std::string | profinet::GetErrorDecodeName (ErrorDecode errorDecodeName) |
| Get the human-readable name for an ErrorDecode value. | |
| std::string | profinet::GetPnioRwErrorCode1Name (PnioRwErrorCode1 errorCodeRw1) |
| Get the human-readable name for a PNIORW ErrorCode1. | |
| std::string | profinet::GetPnioCmErrorCode1Name (PnioCmErrorCode1 errorCodeCm1) |
| Get the human-readable name for a PNIO-CM ErrorCode1. | |
| std::string | profinet::GetPnioRwErrorMessage (PnioRwInvalidIndexErrorCode2 errorCode2) |
| Get the human-readable message for an InvalidIndex error. | |
| std::string | profinet::GetPnioRwErrorMessage (PnioRwWriteLengthErrorCode2 errorCode2) |
| Get the human-readable message for a WriteLength error. | |
| std::string | profinet::GetPnioRwErrorMessage (PnioRwResourceErrorCode2 errorCode2) |
| Get the human-readable message for a Resource error. | |
| std::string | profinet::GetPnioRwErrorMessage (PnioRwAccessErrorCode2 errorCode2) |
| Get the human-readable message for an Access error. | |
| std::string | profinet::GetPnioRwErrorMessage (PnioRwApplicationErrorCode2 errorCode2) |
| Get the human-readable message for an Application error. | |
| std::string | profinet::GetPnioCmErrorMessage (PnioCmArErrorCode2 errorCode2) |
| Get the human-readable message for a PNIO-CM AR error. | |
| std::string | profinet::GetPnioCmErrorMessage (PnioCmIocrErrorCode2 errorCode2) |
| Get the human-readable message for a PNIO-CM IOCR error. | |
| std::string | profinet::GetPnioCmErrorMessage (PnioCmAlarmCrErrorCode2 errorCode2) |
| Get the human-readable message for a PNIO-CM Alarm CR error. | |
| std::string | profinet::GetPnioCmErrorMessage (PnioCmExpectedSubmoduleErrorCode2 errorCode2) |
| Get the human-readable message for a PNIO-CM Expected Submodule error. | |
| std::string | profinet::GetPnioCmErrorMessage (PnioCmDeviceErrorCode2 errorCode2) |
| Get the human-readable message for a PNIO-CM Device error. | |
| std::string | profinet::GetPnioCmErrorMessage (PnioCmFaultyBlockErrorCode2 errorCode2) |
| Get the human-readable message for a PNIO-CM Faulty Block error. | |
| std::string | profinet::GetPnioErrorCode1Name (PnioErrorCode1 errorCode1) |
| Get the human-readable name of a PNIO ErrorCode1. | |
| std::string | profinet::GetPnioErrorMessage (PnioRmpmErrorCode2 errorCode2) |
| Get the human-readable message for an RMPM ErrorCode2. | |
| std::string | profinet::GetPnioErrorMessage (PnioPrmServerErrorCode2 errorCode2) |
| Get the human-readable message for a Parameter Server ErrorCode2. | |
| std::string | profinet::GetPnioRwErrorMessage (PnioRwErrorCode1 errorCode1, std::uint8_t errorCode2) |
| Decode a PNIO read/write error. | |
Declares exceptions and error types used by the PROFINET IO controller stack.
Definition in file exceptions.h.