ApolloCodegenConfiguration.Error
ENUM
ApolloCodegenConfiguration.Error
Swift
1public enum Error: Swift.Error, LocalizedError, Equatable
Errors which can happen with code generation
Cases
notAFile(_:)
Swift
1case notAFile(PathType)
notADirectory(_:)
Swift
1case notADirectory(PathType)
folderCreationFailed(_:underlyingError:)
Swift
1case folderCreationFailed(PathType, underlyingError: Swift.Error)
testMocksInvalidSwiftPackageConfiguration
Swift
1case testMocksInvalidSwiftPackageConfiguration
Properties
errorDescription
Swift
1public var errorDescription: String
recoverySuggestion
Swift
1public var recoverySuggestion: String
Methods
logging(withPath:)
Swift
1public func logging(withPath path: String) -> Error
==(_:_:)
Swift
1public static func == (lhs: Error, rhs: Error) -> Bool
Parameters
Name | Description |
---|---|
lhs | A value to compare. |
rhs | Another value to compare. |