Click
Loading...
Searching...
No Matches
Classes | Macros
error.hh File Reference

Flexible error handling classes. More...

#include <click/string.hh>
#include <stdio.h>
#include <stdarg.h>

Go to the source code of this file.

Classes

class  ErrorHandler
 Error reporting class. More...
 
class  SilentErrorHandler
 An ErrorHandler that does not report messages. More...
 
class  ErrorVeneer
 Base class for ErrorHandlers that forward messages. More...
 
class  FileErrorHandler
 An ErrorHandler that prints error messages to a given file. More...
 
class  LocalErrorHandler
 A convenience stackable ErrorHandler. More...
 
class  ContextErrorHandler
 A stackable ErrorHandler that prints context lines. More...
 
class  PrefixErrorHandler
 A stackable ErrorHandler that adds a prefix to error messages. More...
 
class  LandmarkErrorHandler
 A stackable ErrorHandler that adds a default landmark to error messages. More...
 
class  BailErrorHandler
 A stackable ErrorHandler that exits when errors occur. More...
 

Macros

#define VA_LIST_REF_T   va_list
 
#define VA_LIST_DEREF(val)   (val)
 
#define VA_LIST_REF(val)   (val)
 
#define ERRH_SENTINEL
 

Detailed Description

Flexible error handling classes.