fred-mod-eppd-2.14.0
Data Fields
epp_error Struct Reference

The struct represents one epp error in ExtValue element. More...

#include <epp_common.h>

Data Fields

char * value
 Client provided input which caused the error. More...
 
epp_errorspec spec
 Specification of surrounding XML tags. More...
 
char * reason
 Human readable reason of error. More...
 
int position
 Position of faulty element if it is part of list. More...
 

Detailed Description

The struct represents one epp error in ExtValue element.

It is either validation error (in that case surrounding tags are contained in value and standalone is set to 1) or error reported by central repository (in that case surrounding tags are missing and has to be completed according to epp_errorspec value).

Field Documentation

int epp_error::position

Position of faulty element if it is part of list.

Referenced by epilog_failure(), and get_bad_xml().

char* epp_error::reason

Human readable reason of error.

For schema validity errors it is filled by mod_eppd (by message from libxml) which is prefixed by localized message retrieved from central register. In all other cases it is left empty and filled by CR.

Referenced by epilog_failure(), epp_call_dummy(), epp_gen_response(), gen_response(), and new_error_item().

epp_errorspec epp_error::spec

Specification of surrounding XML tags.

For validation errors this is set to errspec_not_valid.

Referenced by epilog_failure(), epp_call_dummy(), epp_gen_response(), get_bad_xml(), and new_error_item().

char* epp_error::value

Client provided input which caused the error.

Referenced by epp_gen_response(), gen_response(), and new_error_item().


The documentation for this struct was generated from the following file: