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