Table of Contents

Interface SqlFunctions.IPgInputErrorInfoRow

Namespace
NextORM.Core
Assembly
nextorm.core.dll

Row shape produced by pg_input_error_info(string?, string?): the soft error report of parsing a value as a type, without raising the error. A valid value yields one all-NULL row; an invalid value yields the message, the SQLSTATE code and the optional detail/hint.

public interface SqlFunctions.IPgInputErrorInfoRow
Extension Methods

Properties

Detail

The optional error detail line.

[Column("detail")]
string? Detail { get; set; }

Property Value

string

Hint

The optional error hint line.

[Column("hint")]
string? Hint { get; set; }

Property Value

string

Message

The primary error message, or NULL when the value parses.

[Column("message")]
string? Message { get; set; }

Property Value

string

SqlErrorCode

The SQLSTATE code of the error (for example 22P02), or NULL when the value parses.

[Column("sql_error_code")]
string? SqlErrorCode { get; set; }

Property Value

string