Home | Table of Contents | Message Function | CloverETL 4.6.1
--- | --- | ---
Prev | Functions | Next

### Message Function

Since CloverETL version 2.8.0, you can also define a function for your own error messages.

    function string getMessage() {
        return message;
    }

This `message` variable should be declared as a global string variable and defined anywhere in the code so as to be used in the place where the `getMessage()` function is located. The `message` will be written to the console.

Prev | Up | Next
Functions | Home | Table of Contents | Conditional Fail Expression