Docs
Launch GraphOS Studio


STRUCT

WebSocketError

public struct WebSocketError: Error, LocalizedError

A structure for capturing problems and any associated errors from a WebSocketTransport.

Properties

payload

public let payload: JSONObject?

The payload of the response.

error

public let error: Error?

The underlying error, or nil if one was not returned

kind

public let kind: ErrorKind

The kind of problem which occurred.

errorDescription

public var errorDescription: String?
Next
Introduction
Edit on GitHubEditForumsDiscord

© 2024 Apollo Graph Inc.

Privacy Policy

Company