About outputting errors
The custom code generator must output an error to the standard output stream (stdout) when it is not able to properly generate a unique code of the proper format.
The output line for the error must:
- Start with 0,
- Followed by one or more blank spaces,
- Followed by the error message, within double quotation marks.
Example
The following example shows the correct code output format:
0 "error_message"
Note: The error
message generated by the custom code generator is displayed to the user and written
to the log.