Embryo_Error_Group (3) - Linux Manuals

Embryo_Error_Group: Functions that set and retrieve error codes in Embryo programs.

NAME

Error Functions - Functions that set and retrieve error codes in Embryo programs.

Functions


EAPI void embryo_program_error_set (Embryo_Program *ep, int error)
Sets the error code for the given program to the given code.
EAPI int embryo_program_error_get (Embryo_Program *ep)
Retrieves the current error code for the given program.
EAPI const char * embryo_error_string_get (int error)
Retrieves a string describing the given error code.

Detailed Description

Functions that set and retrieve error codes in Embryo programs.

Function Documentation

EAPI const char* embryo_error_string_get (int error)

Retrieves a string describing the given error code.

Parameters:

error The given error code.

Returns:

String describing the given error code. If the given code is not known, the string '(unknown)' is returned.

EAPI int embryo_program_error_get (Embryo_Program * ep)

Retrieves the current error code for the given program.

Parameters:

ep The given program.

Returns:

The current error code.

EAPI void embryo_program_error_set (Embryo_Program * ep, int error)

Sets the error code for the given program to the given code.

Parameters:

ep The given program.
error The given error code.

Author

Generated automatically by Doxygen for Embryo from the source code.