CoyoteCode * coyote_code_new CoyoteCodeType  type,
const gchar *  extended_message
 

Creates a new CoyoteCode object.

Creates a new structure filled with the status code and the message for that status.

Parameters:
type Code type to be generated
extended_message Additional message to be attached
Returns:
A new CoyoteCode structure or NULL if code can not be generated due to wrong arguments.