fred-mod-eppd
Public Attributes | List of all members
epp_error Struct Reference

#include <epp_common.h>

Public Attributes

char * value
 
epp_errorspec spec
 
char * reason
 
int position
 

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).

Member Data Documentation

int epp_error::position

Position of faulty element if it is part of list.

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.

epp_errorspec epp_error::spec

Specification of surrounding XML tags.

For validation errors this is set to errspec_not_valid.

char* epp_error::value

Client provided input which caused the error.


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