[ Previous ] [ Contents ] [ Index ] [ Next ]

Ns_ReturnError (no longer supported)

Overview

Return a short error message to a client

Syntax

    int Ns_ReturnError(
    	Ns_Conn *conn,
    	int      status,
    	char    *fmt,
    	...
    );

Description

The Ns_ReturnError function is supported for backward compatibility only. You should use the new, more specific error functions such as Ns_ConnReturnBadRequest, Ns_ConnReturnUnauthorized, Ns_ConnReturnForbidden, and Ns_ConnReturnNotFound. Ns_ReturnError returns a status of NS_OK or NS_ERROR.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.