• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Giorgi / DuckDB.NET / 10110093053

26 Jul 2024 10:52AM UTC coverage: 90.226% (-0.03%) from 90.251%
10110093053

push

github

Giorgi
Set error type on exception

845 of 963 branches covered (87.75%)

Branch coverage included in aggregate %.

6 of 10 new or added lines in 3 files covered. (60.0%)

1 existing line in 1 file now uncovered.

1712 of 1871 relevant lines covered (91.5%)

794651.43 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/DuckDB.NET.Data/DuckDBException.cs
1
using System.Data.Common;
2
using System.Runtime.Serialization;
3
using DuckDB.NET.Native;
4

5
namespace DuckDB.NET.Data;
6

7
public class DuckDBException : DbException
8
{
NEW
9
    public DuckDBErrorType ErrorType { get; }
×
10

UNCOV
11
    internal DuckDBException()
×
12
    {
13
    }
×
14

15
    internal DuckDBException(SerializationInfo info, StreamingContext context) : base(info, context)
×
16
    {
17
    }
×
18

19
    internal DuckDBException(string message) : base(message)
18✔
20
    {
21
    }
18✔
22

23
    internal DuckDBException(string message, DuckDBErrorType errorType) : base(message, (int)errorType)
24✔
24
    {
25
        ErrorType = errorType;
24✔
26
    }
24✔
27
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc