File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ extension Google_Protobuf_FieldMask {
206
206
var paths : [ String ] = [ ]
207
207
for number in fieldNumbers {
208
208
guard let name = M . protoName ( for: number) else {
209
- throw FieldMaskUtilsError . invalidFieldNumber
209
+ throw FieldMaskError . invalidFieldNumber
210
210
}
211
211
paths. append ( name)
212
212
}
@@ -229,7 +229,7 @@ extension Google_Protobuf_FieldMask {
229
229
of messageType: M . Type
230
230
) throws {
231
231
guard M . isPathValid ( path) else {
232
- throw FieldMaskUtilsError . invalidPath
232
+ throw FieldMaskError . invalidPath
233
233
}
234
234
paths. append ( path)
235
235
}
@@ -354,7 +354,7 @@ extension Google_Protobuf_FieldMask {
354
354
}
355
355
356
356
/// Describes errors could happen during FieldMask utilities.
357
- public enum FieldMaskUtilsError : Error {
357
+ public enum FieldMaskError : Error {
358
358
359
359
/// Describes a path is invalid for a Message type.
360
360
case invalidPath
You can’t perform that action at this time.
0 commit comments