C# Core 3.5: Error Object