version  0.0.1
Defines the C++ API for MsPASS
Public Member Functions | List of all members
mspass::utility::AntelopePfError Class Reference

Error class for AntelopePf object. More...

#include <AntelopePf.h>

Inheritance diagram for mspass::utility::AntelopePfError:
mspass::utility::MsPASSError

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. More...
 
 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
 

Detailed Description

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.


The documentation for this class was generated from the following file: