schwz  Generated automatically from develop
Public Member Functions | List of all members
UmfpackError Class Reference

UmfpackError is thrown when a METIS routine throws a non-zero error code. More...

#include <exception.hpp>

Collaboration diagram for UmfpackError:
[legend]

Public Member Functions

 UmfpackError (const std::string &file, int line, const std::string &func, int error_code)
 Initializes a METIS error. More...
 
- Public Member Functions inherited from Error
 Error (const std::string &file, int line, const std::string &what)
 Initializes an error. More...
 
virtual const char * what () const noexcept override
 Returns a human-readable string with a more detailed description of the error.
 

Detailed Description

UmfpackError is thrown when a METIS routine throws a non-zero error code.

Constructor & Destructor Documentation

◆ UmfpackError()

UmfpackError::UmfpackError ( const std::string &  file,
int  line,
const std::string &  func,
int  error_code 
)
inline

Initializes a METIS error.

Parameters
fileThe name of the offending source file
lineThe source code line number where the error occurred
funcThe name of the METIS routine that failed
error_codeThe resulting METIS error code

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