Daylight v4.9
Release Date: 1 February 2008

Name

dt_smilinerrors - return all errors related to smiles parsing

Generic Prototype

dt_smilinerrors(void) => dt_Handle

C Prototype

#include "dt_smiles.h"

dt_Handle dt_smilinerrors(void)

FORTRAN Prototype

include 'dt_f_smiles.inc'

integer*4 dt_f_smilinerrors()

Description

Selects all errors related to smiles parsing and returns them as a sequence of string objects. Prior to version 4.9 SMILES parsing errors were handled separately from other toolkit errors. Starting with version 4.91 this function is identical to dt_errors(DX_ERR_NOTE). There is a single error queue for the toolkit.

Return Value

Returns a handle to a sequence of string objects. The sequence and string objects are newly-allocated copies of the internal error queue and are not affected by operations on the internal queue.

It is the responsibility of the calling function to deallocate the sequence object and all of the string objects it contains.

Related Topics

dt_errorclear(3) dt_errorworst(3) dt_errorsave(3) dt_errors(3)

Bugs

This has been documented in the past to take a dt_Integer argument (the severity) but actually doesn't.