# ij.showErrorCode

#### Function

Set this property to true to have ij display the SQLException ErrorCode value with error messages. The default is false.

Error codes denote the severity of the error. For more information, see the Java DB Reference Manual.

#### Syntax

    ij.showErrorCode=trueOrFalse

#### Example

    java -Dij.showErrorCode=true -Dij.protocol=jdbc:derby:
        org.apache.derby.tools.ij
    ij version 10.2
    ij> Connect 'sample';
    ij> VLUES 1;
    ERROR 42X01: Syntax error: Encountered "VLUES"
    at line 1, column 1. (errorCode = 30000)
    ij>

Parent topic: ij properties reference
Related reference
ij.connection.connectionName
ij.database
ij.dataSource
ij.driver
ij.maximumDisplayWidth
ij.outfile
ij.password
ij.protocol
ij.protocol.protocolName
ij.URLCheck
ij.user
derby.ui.codeset