|
MsPASS C++ API
2.4.1.dev4+g92330b7a
Defines the C++ API for MsPASS
|
Error class for AntelopePf object. More...
#include <AntelopePf.h>


Public Member Functions | |
| AntelopePfError (std::string mess) | |
| AntelopePfError (const char *mess) | |
| void | log_error () |
Public Member Functions inherited from mspass::utility::MsPASSError | |
| MsPASSError () | |
| MsPASSError (const std::string mess, const char *howbad) | |
| Construct from a std::string with badness defined by keywords in a string. | |
| MsPASSError (const std::string mess, const ErrorSeverity s=ErrorSeverity::Invalid) | |
| MsPASSError (const char *mess, const ErrorSeverity s) | |
| void | log_error () |
| void | log_error (std::ostream &ofs) |
| const char * | what () const noexcept |
| ErrorSeverity | severity () const |
Additional Inherited Members | |
Protected Attributes inherited from mspass::utility::MsPASSError | |
| std::string | message |
| ErrorSeverity | badness |
Error class for AntelopePf object.
This error object is similar to that for Metadata but tags all errors cleanly as originating from this child of Metadata. Note MsPASSError is a child of std::exception, so catch that to most easily fetch messages coming from this beast.
|
inline |
|
inline |
Construct an AntelopePfError from an std::string message.
| mess | message to append to the AntelopePfError prefix. |
References mspass::utility::MsPASSError::message.
|
inline |
Construct an AntelopePfError from a C string message.
| mess | message to append to the AntelopePfError prefix. |
References mspass::utility::MsPASSError::message.
|
inline |
Write the stored error message to std::cerr.
References mspass::utility::MsPASSError::message.