<PackageReference Include="System.Data.SqlClient" Version="4.7.0-preview6.19264.9" />

SqlTypeException

public class SqlTypeException : Exception
The base exception class for the SqlTypes.

Initializes a new instance of the SqlTypeException class.

public SqlTypeException(string message)

Initializes a new instance of the SqlTypeException class with a specified error message.

public SqlTypeException(string message, Exception e)

Initializes a new instance of the SqlTypeException class with a specified error message and a reference to the inner exception that is the cause of this exception.