irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

irods_error.hpp File Reference
#include <string>
#include <vector>
#include <cstdarg>
#include <boost/optional.hpp>
#include "rodsType.h"
#include "irods_exception.hpp"
#include <boost/assert.hpp>
#include <boost/format.hpp>
Include dependency graph for irods_error.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  irods::error




#define ERROR(code_, message_)   ( irods::error( false, code_, message_, __FILE__, __LINE__, __PRETTY_FUNCTION__ ) )
#define PASS(prev_error_)   (irods::error( "", __FILE__, __LINE__, __PRETTY_FUNCTION__, prev_error_ ) )
#define PASSMSG(message_, prev_error_)   (irods::error( message_, __FILE__, __LINE__, __PRETTY_FUNCTION__, prev_error_ ) )
#define CODE(code_)   ( irods::error( true, code_, "", __FILE__, __LINE__, __PRETTY_FUNCTION__ ) )
#define SUCCESS()   ( irods::error( true, 0, "", __FILE__, __LINE__, __PRETTY_FUNCTION__ ) )
#define ASSERT_ERROR(expr_, code_, format_, ...)   (irods::assert_error(expr_, code_, __FILE__, __PRETTY_FUNCTION__, format_, __LINE__, ##__VA_ARGS__))
#define ASSERT_PASS(prev_error_, format_, ...)   (irods::assert_pass(prev_error_, __FILE__, __PRETTY_FUNCTION__, format_, __LINE__, ##__VA_ARGS__))


error irods::assert_error (bool expr_, long long code_, const std::string &file_, const std::string &function_, const std::string &format_, int line_,...)
error irods::assert_pass (const error &_error, const std::string &_file, const std::string &_function, const std::string &_format, int line_,...)

Macro Definition Documentation


#define ASSERT_ERROR (   expr_,
)    (irods::assert_error(expr_, code_, __FILE__, __PRETTY_FUNCTION__, format_, __LINE__, ##__VA_ARGS__))

Definition at line 124 of file irods_error.hpp.


#define ASSERT_PASS (   prev_error_,
)    (irods::assert_pass(prev_error_, __FILE__, __PRETTY_FUNCTION__, format_, __LINE__, ##__VA_ARGS__))

Definition at line 125 of file irods_error.hpp.


#define CODE (   code_)    ( irods::error( true, code_, "", __FILE__, __LINE__, __PRETTY_FUNCTION__ ) )

Definition at line 121 of file irods_error.hpp.


#define ERROR (   code_,
)    ( irods::error( false, code_, message_, __FILE__, __LINE__, __PRETTY_FUNCTION__ ) )

Definition at line 118 of file irods_error.hpp.


#define PASS (   prev_error_)    (irods::error( "", __FILE__, __LINE__, __PRETTY_FUNCTION__, prev_error_ ) )

Definition at line 119 of file irods_error.hpp.


#define PASSMSG (   message_,
)    (irods::error( message_, __FILE__, __LINE__, __PRETTY_FUNCTION__, prev_error_ ) )

Definition at line 120 of file irods_error.hpp.


#define SUCCESS ( )    ( irods::error( true, 0, "", __FILE__, __LINE__, __PRETTY_FUNCTION__ ) )

Definition at line 122 of file irods_error.hpp.