libdap Updated for version 3.21.1
libdap4 is an implementation of OPeNDAP's DAP protocol.
Error.h File Reference
#include <exception>
#include <iostream>
#include <string>
#include <cstdio>
#include <utility>
Include dependency graph for Error.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  libdap::Error
 A class for error processing. More...
 

Namespaces

namespace  libdap
 top level DAP object to house generic methods
 

Macros

Internal DAP errors
#define cannot_read_file   1007
 (400)
 
#define dummy_message   1009
 
#define internal_error   1002
 Internal server error (500)
 
#define malformed_expr   1005
 (400)
 
#define no_authorization   1006
 (401)
 
#define no_such_file   1003
 (400)
 
#define no_such_variable   1004
 (400)
 
#define not_implemented   1008
 Implies that it will/might be impl. (501)
 
#define undefined_error   1000
 Undefined error code, an empty Error object was built.
 
#define unknown_error   1001
 Unknown error (the default code) (HTTP 400)
 

Typedefs

typedef int libdap::ErrorCode
 An enumerated type for common errors.
 

Macro Definition Documentation

◆ cannot_read_file

#define cannot_read_file   1007

(400)

Definition at line 68 of file Error.h.

◆ dummy_message

#define dummy_message   1009
See also
Error.cc; end the array with ""

Definition at line 70 of file Error.h.

◆ internal_error

#define internal_error   1002

Internal server error (500)

Definition at line 63 of file Error.h.

◆ malformed_expr

#define malformed_expr   1005

(400)

Definition at line 66 of file Error.h.

◆ no_authorization

#define no_authorization   1006

(401)

Definition at line 67 of file Error.h.

◆ no_such_file

#define no_such_file   1003

(400)

Definition at line 64 of file Error.h.

◆ no_such_variable

#define no_such_variable   1004

(400)

Definition at line 65 of file Error.h.

◆ not_implemented

#define not_implemented   1008

Implies that it will/might be impl. (501)

Definition at line 69 of file Error.h.

◆ undefined_error

#define undefined_error   1000

Undefined error code, an empty Error object was built.

Definition at line 61 of file Error.h.

◆ unknown_error

#define unknown_error   1001

Unknown error (the default code) (HTTP 400)

Definition at line 62 of file Error.h.