Union
SqlError
union struct SqlError
Module: System.Data.Sql
Assembly: System.Data.dll
Source file: SqlError.rvn
Inheritance: Object → ValueType → SqlError
Recoverable SQL failures. Server preserves SQLSTATE; transport errors do not imply a safe retry.
Cases
8 cases
case InvalidInput(message: string)
No summary available.
case InvalidState(message: string)
No summary available.
case Transport(message: string)
No summary available.
case Protocol(message: string)
No summary available.
case Unsupported(message: string)
No summary available.
case LimitExceeded(message: string)
No summary available.
case Server(sqlState: string, message: string)
No summary available.
case Mapping(message: string)
No summary available.
Properties
2 items
HasValue: bool
Recoverable SQL failures. Server preserves SQLSTATE; transport errors do not imply a safe retry.
Value: object?
Recoverable SQL failures. Server preserves SQLSTATE; transport errors do not imply a safe retry.
Methods
4 items
Equals(other: object?) -> bool
Tests reference identity by default; an ordinary class may override equality.
Inherited from Object.Equals
GetHashCode() -> int
Returns a stable identity hash by default; an ordinary class may override it consistently with equality.
Inherited from Object.GetHashCode
GetType() -> TypeInfo
Returns metadata for the concrete runtime type of this instance.
Inherited from Object.GetType
ToString() -> string
Diagnostic category and detail; server messages may contain application data.
Overrides Object.ToString