CodeGenError
A error thrown by the SourceGenerator
to signal errors in the CodeGenerationRequest
object.
struct CodeGenError
A error thrown by the SourceGenerator
to signal errors in the CodeGenerationRequest
object.
struct CodeGenError
import GRPCCodeGen
typealias SourceGenerator = CodeGenerator
struct CodeGenerationRequest
Describes the services, dependencies and trivia from an IDL file, and the IDL itself through its specific serializer and deserializer.
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Error : Sendable
A type representing an error value that can be thrown.
protocol Escapable
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
init(code: Code, message: String)
Creates a new error.
var code: Code
The code indicating the domain of the error.
var description: String { get }
var message: String
A message providing more details about the error which may include details specific to this instance of the error.
struct Code
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.