Static Methodsoto-core 7.4.0SotoCore
missingHeader(_:)
An event stream message headers is missing
static func missingHeader(_ header: String) -> AWSEventStreamError
An event stream message headers is missing
static func missingHeader(_ header: String) -> AWSEventStreamError
import SotoCore
struct AWSEventStreamError
Errors thrown while decoding the event stream buffers
@frozen struct String
A Unicode string value that is a collection of characters.
static var corruptHeader: Self { get }
The message headers are corrupt
static var corruptPayload: Self { get }
The message payload is corrupt
static func errorMessage(_ errorCode: String, _ errorMessage: String?) -> AWSEventStreamError
The message was an error
static func unknownMessageType(_ messageType: String) -> AWSEventStreamError
Unknown message type
static func unsupportedContentType(_ contentType: String) -> AWSEventStreamError
Unsupported content type
let code: Code
let message: String?
struct Code