#ifndef ERROR_H
#define ERROR_H
#include "../public/nsapi.h"
#include "sessionhandler.h"
#include "httprequest.h"
#ifdef __cplusplus
extern "C" {
#endif
int nsapi_error_request(Session *sn, Request *rq);
void fatal_error(HTTPRequest *req,
int status);
#ifdef __cplusplus
}
#endif
#endif