AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::klee::KleeError Class Reference

#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/latest/src/axom/klee/KleeError.hpp>

Inherits std::exception.

Public Member Functions

 KleeError (const inlet::VerificationError &error)
 
 KleeError (const std::vector< inlet::VerificationError > &errors)
 
const char * what () const noexcept override
 
const std::vector< inlet::VerificationError > & getErrors () const
 

Detailed Description

Describes an error that occurred while parsing a Klee file.

Constructor & Destructor Documentation

◆ KleeError() [1/2]

axom::klee::KleeError::KleeError ( const inlet::VerificationError error)
explicit

Create a KleeError from a single verification error.

Parameters
errorthe VerificationError describing the failure

◆ KleeError() [2/2]

axom::klee::KleeError::KleeError ( const std::vector< inlet::VerificationError > &  errors)
explicit

Create a KleeError from a vector of verification errors. There must be at least one error provided.

Parameters
errorsthe list VerificationError describing the failures. Must have at least one.

Member Function Documentation

◆ what()

const char* axom::klee::KleeError::what ( ) const
overridenoexcept

A description of the first error.

Returns
the message of the first error

◆ getErrors()

const std::vector<inlet::VerificationError>& axom::klee::KleeError::getErrors ( ) const
inline

Get the list of all the errors.

Returns
all the errors which caused this exception

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