<?php
/*******************************************************************
THIS PHP FILE IS AUTOGENERATED.  EDITS WILL BE LOST!
DiGIR diagnostic codes generated from digir_errors.xml
*******************************************************************/

////
//Diagnostic Levels

		
/****
Message contains diagnostic information that can be helpful for determing
problems with an installation.  WARNING: content in the debug diagnostic
can provide sensitive information about the provider installation.
*/
define('DIAG_DEBUG','debug');

		
/****
Message contains information about the status of the provider service or the
recent operation.
*/
define('DIAG_INFO','info');

		
/****
Message contains information warning that the operation of the provider
service may be incorrect, but no particular error was detected.
*/
define('DIAG_WARN','warn');

		
/****
An error occured.  The results that were generated should not be trusted as
the content may be incorrect.
*/
define('DIAG_ERROR','error');

		
/****
Normal operation of the provider services was compromised execution of the 
request could not be completed.
*/
define('DIAG_FATAL','fatal');

	
////
//Diagnostic Codes

		
/****
Indicates a mismatch between the version of PHP known to work correctly with 
DiGIR and the current PHP interpreter.  
*/
define('DC_PHPVERSION','PHP_VERSION');

		
/****
The filter supplied in the request document was too brief (general) for this 
provider.
*/
define('DC_FILTERTOOSHORT','FILTER_TOO_SHORT');

		
/****
The query supplied in the request document could not be parsed in the 
context of the requested resource.
*/
define('DC_INVALIDQUERY','INVALID_QUERY');

		
/****
There was a problem with communication between the DiGIR script and the 
database that caused an error.
*/
define('DC_INTERNALDATABASEERROR','INTERNAL_DATABASE_ERROR');

		
/****
Reports an error message that was generated by the database driver.  The 
text of the message is the error message provided by the database interface.
*/
define('DC_DATABASE_ERROR','DATABASE_ERROR');

		
/****
Contains native database query statements generated when the provider is in
debug mode.
*/
define('DC_DEBUG_SQL','SQL_DEBUG_INFO');

		
/****
Contains the number of records that matched the query.  This is an integer 
value.
*/
define('DC_MATCH_COUNT','MATCH_COUNT');

		
/****
An error message that indicates the query produced a null (empty) resultset.
*/
define('DC_QUERYPRODUCEDNORESULTS','QUERY_PRODUCED_NO_RESULTS');

		
/****
An integer value that indicates the number of records that are returned in the
response.
*/
define('DC_ROW_COUNT','RECORD_COUNT');

		
/****
A boolean value (true | false, 0|1) indicating if the last record in the 
response document corresponds with the last record in the resultset.
*/
define('DC_END_OF_RECORDS','END_OF_RECORDS');

		
/****
The filter structure could not be transformed into a native query language.
*/
define('DC_BADQUERY','BAD_QUERY');

		
/****
An access point (searchable concept) used in the filter does not exist in the
resource.
*/
define('DC_UNSUPPORTED_ACCESSPOINT','UNSUPPORTED_ACCESSPOINT');

		
/****
A comparison type specified in the filter was not supported by the 
corresponding access point.
*/
define('DC_COMPTYPENOTSUPPORTED','COMPARISON_TYPE_NOT_SUPPORTED');

		
/****
A term used in the query was shorted than the minimum allowed by the provider.
*/
define('DC_QUERYTERMTOOSHORT','QUERY_TERM_TOO_SHORT');

		
/****
A query term was not in the expected form for the searchable concept.
*/
define('DC_INVALIDTERM','INVALID_QUERY_TERM');

		
/****
The configuration for the concept map element specified in the diagnostic
message did not provide correct information for mapping to the database.
*/
define('DC_BADCONCEPTMAP','BAD_CONCEPT_MAP');

		
/****
The requested resource was not available on the data provider.
*/
define('DC_RESOURCENOTFOUND','RESOURCE_NOT_FOUND');

		
/****
The request document was incorrect and the operation could not be determined.
*/
define('DC_INVALIDREQUEST','INVALID_REQUEST');

		
/****
The requested record format could not be found or loaded.
*/
define('DC_FORMATLOADFAILED','LOAD_FORMAT_FAILED');

		
/****
There was a problem processing the provider metadata description file.
*/
define('DC_METADATA','METADATA_FORMAT_PROBLEM');

		
/****
No filter was provided in the search request.
*/
define('DC_NOFILTERSPECIFIED','NO_FILTER_IN_REQUEST');

		
/****
The provider resource list could not be loaded.
*/
define('DC_NORESOURCESFILE','COULD_NOT_LOAD_RESOURCES_FILE');

		
/****
The operation requested a remote join, and that feature has been disabled on
the provider.
*/
define('DC_NOREMOTEJOINS','REMOTE_JOINS_NOT_ALLOWED');

		
/****
The remote join request failed to complete correctly.
*/
define('DC_REMOTEJOINFAIL','REMOTE_JOIN_FAILED');

		
/****
The response from the remote join was different to expected, but the operation
appeared to complete successfully.
*/
define('DC_REMOTEJOIN','REMOTE_JOIN_INFO');

		
/****
The configuration information for the provider could not be loaded, and hence 
the requested operation could not be completed.
*/
define('DC_CONFIGURATION_FAILURE','FAILED_CONFIGURATION_LOAD');

		
/****
The request does not ask for match count or any records.
*/
define('DC_NOCONTENT','NO_CONTENT_REQUESTED');

		
/****
Too many errors were encountered while processing the request.
*/
define('DC_TOOMANYERRORS','TOO_MANY_ERRORS');

		
/****
Problem occured when opening or writing to the log.
*/
define('DC_LOG_ERROR','LOG_ERROR');

		
/****
A catch-all diagnostic for where no other appropriate category is available.
*/
define('DC_GENERAL_ERROR','GENERAL_ERROR');

		
/****
The mbstring library was not available, and hence no character conversion 
routines are available.  The resulting document may not conform to UTF-8
character encoding.
*/
define('DC_NOMBSTRING','NO_CHARACTER_CONVERSION');

		
/****
The requested operation is not permitted by the configuration of the 
provider.
*/
define('DC_NOTALLOWED','DIGIR_NOT_ALLOWED');

		
/****
The DiGIRm request resolved to a recursive query and so was not processed.
*/
define('DC_RECURSIVE','DIGIRM_RECURSIVE_OPERATION');

		
/****
An integer value indicating the number of seconds for which the accompanying
STATUS_DATA value applys.
*/
define('DC_STATUS_INTERVAL','STATUS_INTERVAL');

		
/****
An integer value indicating the number of requests that have been processed
in the last STATUS_INTERVAL seconds.  The count refers to the type of 
operation that generated the current document (e.g. metadata, search, or
inventory).
*/
define('DC_STATUS_DATA','STATUS_DATA');

	?>