Required Instance Methodswift-openapi-generator 1.5.0_OpenAPIGeneratorCore
emit(_:)
Submits a diagnostic to the collector.
func emit(_ diagnostic: Diagnostic) throws
Parameters
- diagnostic
The diagnostic to submit.
Throws
An error if the implementing type determines that one should be thrown.