< Summary

Information
Class: NexusLabs.Needlr.AgentFramework.Progress.NullProgressReporterErrorHandler
Assembly: NexusLabs.Needlr.AgentFramework
File(s): /home/runner/work/needlr/needlr/src/NexusLabs.Needlr.AgentFramework/Progress/NullProgressReporterErrorHandler.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 13
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
OnSinkException(...)100%11100%

File(s)

/home/runner/work/needlr/needlr/src/NexusLabs.Needlr.AgentFramework/Progress/NullProgressReporterErrorHandler.cs

#LineLine coverage
 1namespace NexusLabs.Needlr.AgentFramework.Progress;
 2
 3/// <summary>
 4/// Default <see cref="IProgressReporterErrorHandler"/> that discards exceptions.
 5/// Registered by <c>UsingAgentFramework()</c> unless the consumer registers a replacement.
 6/// </summary>
 7[DoNotAutoRegister]
 8internal sealed class NullProgressReporterErrorHandler : IProgressReporterErrorHandler
 9{
 10    public void OnSinkException(IProgressSink sink, IProgressEvent progressEvent, Exception exception)
 11    {
 112    }
 13}