ENUM
GenerationOptions.WarningsAsErrors
Contents
- Cases
noneallonly(_:)
swift
public enum WarningsAsErrors: Codable, Equatable, SendableControls which generation warnings are promoted to errors.
Cases
none
swift
case noneNo warnings are promoted to errors (default behavior).
all
swift
case allAll warnings are promoted to errors.
only(_:)
swift
case only([GenerationWarning])Only the specified warning categories are promoted to errors.
