errors.PreparedStatementError()

new PreparedStatementError()

PreparedStatementError class, available from the errors namespace.

This type represents all errors that can be reported by class PreparedStatement, whether it is used explicitly or implicitly (via a simple {name, text, values} object).

Properties:
Name Type Description
name string

Standard Error property - error type name = PreparedStatementError.

message string

Standard Error property - the error message.

stack string

Standard Error property - the stack trace.

error errors.QueryFileError

Internal errors.QueryFileError object.

It is set only when the source PreparedStatement used a QueryFile which threw the error.

result object

Resulting Prepared Statement object.

Source:
See:

Extends