Http network communication error

WHEN TO USE:

  • Error will be thrown when network communication fails (timeout, connection reset, etc.)
  • This is different from HTTP protocol errors (4xx/5xx responses)

Hierarchy (view full)

  • VechainSDKError<{
        method: string;
        networkErrorType?: string;
        url: string;
    }>
    • HttpNetworkError

Constructors

Properties

data: {
    method: string;
    networkErrorType?: string;
    url: string;
}
errorMessage: string
innerError?: unknown
methodName: string