Skip to content

Commit

Permalink
Address issue where errorTypeAdditionalExtensions was not called on t…
Browse files Browse the repository at this point in the history
…he error delegate.
  • Loading branch information
Simon Pilkington committed Aug 15, 2023
1 parent 3b359da commit 4a7e698
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 4a7e698

Please sign in to comment.