diff --git a/Sources/ServiceModelGenerate/ServiceModelCodeGenerator+generateModelErrors.swift b/Sources/ServiceModelGenerate/ServiceModelCodeGenerator+generateModelErrors.swift index 722111e..4c3d301 100644 --- a/Sources/ServiceModelGenerate/ServiceModelCodeGenerator+generateModelErrors.swift +++ b/Sources/ServiceModelGenerate/ServiceModelCodeGenerator+generateModelErrors.swift @@ -168,6 +168,8 @@ public extension ServiceModelCodeGenerator where TargetSupportType: ModelTargetS """) } + delegate.errorTypeAdditionalExtensions(fileBuilder: fileBuilder, errorTypes: sortedErrors, baseName: baseName) + if delegate.generateCustomStringConvertibleConformance && delegate.generateEncodableConformance { fileBuilder.appendEmptyLine()