[monodoc] Fixed issue with null generic type arguments
[monodoc] added PlatformDocAPI type
[mdoc] improved error handling