Skip to content

Commit bc8ed9a

Browse files
committed
Fix the output from protoc for options errors.
Without the conformance we were getting the type description instead.
1 parent cf2974e commit bc8ed9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/protoc-gen-swift/GenerationError.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
//
99
// -----------------------------------------------------------------------------
1010

11-
enum GenerationError: Error {
11+
enum GenerationError: Error, CustomStringConvertible {
1212
/// Raised when parsing the parameter string and found an unknown key.
1313
case unknownParameter(name: String)
1414
/// Raised when a parameter was given an invalid value.

0 commit comments

Comments
 (0)