SwiftstructGRPCCoreInternal

struct GRPCCoreInternal.RuntimeError

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 5

  1. fieldvar cause: Error?+0x18
  2. fieldvar code: GRPCCoreInternal.RuntimeError.Code+0x0
  3. fieldvar message: String+0x8
  4. initinit(code: GRPCCoreInternal.RuntimeError.Code, message: String, cause: Error?) -> GRPCCoreInternal.RuntimeError
  5. varvar description: String { get }
struct RuntimeError {
    struct Code {
        enum Value {
            case invalidArgument
            case serverIsAlreadyRunning
            case serverIsStopped
            case clientIsAlreadyRunning
            case clientIsStopped
            case transportError
        }
        var value: GRPCCoreInternal.RuntimeError.Code.Value

        var description: Swift.String {
            get
        }

        static var clientIsAlreadyRunning: GRPCCoreInternal.RuntimeError.Code {
            get
        }
        static var clientIsStopped: GRPCCoreInternal.RuntimeError.Code {
            get
        }
        static var invalidArgument: GRPCCoreInternal.RuntimeError.Code {
            get
        }
        static var serverIsAlreadyRunning: GRPCCoreInternal.RuntimeError.Code {
            get
        }
        static var serverIsStopped: GRPCCoreInternal.RuntimeError.Code {
            get
        }
        static var transportError: GRPCCoreInternal.RuntimeError.Code {
            get
        }
    }
    var code: GRPCCoreInternal.RuntimeError.Code
    var message: Swift.String
    var cause: (any Swift.Error)?

    init(code: GRPCCoreInternal.RuntimeError.Code, message: Swift.String, cause: (any Swift.Error)?)

    var description: Swift.String {
        get
    }
}