| 类 | 说明 |
|---|---|
| AcpErrorCodes |
Standard JSON-RPC 2.0 error codes used by ACP.
|
| 异常错误 | 说明 |
|---|---|
| AcpCapabilityException |
Exception thrown when attempting to use a capability that the peer does not support.
|
| AcpConnectionException |
Exception thrown when there is a connection or transport error.
|
| AcpException |
Base exception for all ACP-related errors.
|
| AcpProtocolException |
Exception representing a JSON-RPC protocol error from the peer.
|
This package provides a structured exception hierarchy for handling errors in ACP communication:
AcpException - Base class for all ACP
errorsAcpProtocolException - JSON-RPC protocol
errorsAcpCapabilityException - Capability
negotiation errorsAcpConnectionException - Transport/connection
errors
Standard error codes are defined in AcpErrorCodes.
AcpErrorCodes