Instance Propertyswift-openapi-runtime 1.6.0OpenAPIRuntime
operationOutput
An operation-specific Output value.
ServerError.swift:41var operationOutput: (any Sendable)?
Is nil if error was thrown before/during Output -> response conversion.
Other members in extension
Type members
init(operationID: String, request: HTTPRequest, requestBody: HTTPBody?, requestMetadata: ServerRequestMetadata, operationInput: (any Sendable)?, operationOutput: (any Sendable)?, causeDescription: String, underlyingError: any Error
) Creates a new error.
Instance members
var causeDescription: String
A user-facing description of what caused the underlying error to be thrown.
var description: String
A human-readable description of the server error.
var errorDescription: String?
A localized description of the server error.
var operationID: String
Identifier of the operation that threw the error.
var operationInput: (any Sendable)?
An operation-specific Input value.
var request: HTTPRequest
The HTTP request provided to the server.
var requestBody: HTTPBody?
The HTTP request body provided to the server.
var requestMetadata: ServerRequestMetadata
The request metadata extracted by the server.
var underlyingError: any Error
The underlying error that caused the operation to fail.