Skip to content

Commit 78a8e10

Browse files
Merge pull request #23 from DJShinn/feature/detailed-type-name-error
Add descriptive error message to GetTypeName
2 parents 3a5cb5d + c2180a8 commit 78a8e10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Optimizely.Graph.Source.Sdk/Optimizely.Graph.Source.Sdk/SourceConfiguration/SourceConfigurationModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ private string GetTypeName(Type fieldType)
255255
return "[String]";
256256
}
257257

258-
throw new NotImplementedException();
258+
throw new NotImplementedException($"Property of type {fieldType.Name} is not assignable to any implemented types");
259259
}
260260
}
261261

0 commit comments

Comments
 (0)