presto-base-jdbc/src/main/java/io/prestosql/plugin/jdbc/JdbcErrorCode.java/JdbcErrorCode/toErrorCode
class JdbcErrorCode:    @Override
    public ErrorCode toErrorCode()
    {
        return errorCode;
    }