eyBuildLib API Reference : eyBuildLib

eberror

NAME

eberror - error module

ROUTINES

ebHttpStatusString( ) - get http protocol status string by status code
ebSendError( ) - send error message to error page

DESCRIPTION

error module

INCLUDE

eberror.h

SEE ALSO

eblog.h


eyBuildLib : Routines

ebHttpStatusString( )

NAME

ebHttpStatusString( ) - get http protocol status string by status code

SYNOPSIS

char * ebHttpStatusString
    (
    int code
    )

DESCRIPTION

This routine is to get http protocol status string by status code

RETURNS

pointer to http status string

SEE ALSO

eberror


eyBuildLib : Routines

ebSendError( )

NAME

ebSendError( ) - send error message to error page

SYNOPSIS

int ebSendError
    (
    int          errcode,     /* http error number */
    const char * errfmt,      /* error message */
                 ...
    )

DESCRIPTION

This routine redirect url to error page, adn list error detail specified by errfmt and so on.

RETURNS

OK/ERROR

SEE ALSO

eberror