Class MySqlError
Collection of error codes that can be returned by the server
Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data.dll
Version: 9.0.0
Syntax
public class MySqlError
Constructors
MySqlError(String, Int32, String)
Declaration
public MySqlError(string level, int code, string message)
Parameters
Type | Name | Description |
---|---|---|
String | level | |
Int32 | code | |
String | message |
Properties
Code
Error code
Declaration
public int Code { get; }
Property Value
Type | Description |
---|---|
Int32 |
Level
Error level
Declaration
public string Level { get; }
Property Value
Type | Description |
---|---|
String |
Message
Error message
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
String |