|
netcdfpp
Header-only NetCDF C++ wrapper
|
Exception thrown when a NetCDF-C call fails. More...
#include <netcdfpp.h>
Public Member Functions | |
| Exception (int r, std::string s) | |
| Creates an exception with the NetCDF return code and a complete message. | |
| int | return_code () const |
| Returns the NetCDF-C return code that caused the exception. | |
Exception thrown when a NetCDF-C call fails.
The message includes the NetCDF error text and the path of the affected file, group, variable, dimension, attribute, or user-defined type.
|
inlineexplicit |
Creates an exception with the NetCDF return code and a complete message.
|
inline |
Returns the NetCDF-C return code that caused the exception.