# IBM Visualization Data Explorer Programmer's Reference

[ Bottom of Page | Previous Page | Next Page | Table of Contents | Partial Table of Contents | Index ]

### DXAddMessage, DXMessageReturn, DXMessageGoto

Function Concatenates a message with the current error message.

Syntax

    #include <dx/dx.h>
    Error DXAddMessage(char *message, ...)
    #define DXMessageReturn(s) {DXAddMessage(s); return ERROR;}
    #define DXMessageGoto(s) {DXAddMessage(s); goto error;}

.

Functional Details This routine can provide more information about an error originally detected in a low-level routine. The contents of `message` may be a `printf` format string, in which case additional arguments required by the format string must be specified.

Return Value Always returns `ERROR`.

See Also `DXSetError, DXErrorReturn, DXErrorGoto`

13.1 , "Error Handling and Messages".

[ Top of Page | Previous Page | Next Page | Table of Contents | Partial Table of Contents | Index ]
[Data Explorer Documentation | QuickStart Guide | User's Guide | User's Reference | Programmer's Reference | Installation and Configuration Guide ]

[Data Explorer Home Page]

[IBM Home Page | Order | Search | Contact IBM | Legal ]