QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
PricingError Struct Reference

#include <commodity.hpp>

+ Collaboration diagram for PricingError:

Public Types

enum  Level { Info , Warning , Error , Fatal }
 

Public Member Functions

 PricingError (Level errorLevel, std::string error, std::string detail)
 

Public Attributes

Level errorLevel
 
std::string tradeId
 
std::string error
 
std::string detail
 

Detailed Description

Definition at line 43 of file commodity.hpp.

Member Enumeration Documentation

◆ Level

enum Level
Enumerator
Info 
Warning 
Error 
Fatal 

Definition at line 44 of file commodity.hpp.

Constructor & Destructor Documentation

◆ PricingError()

PricingError ( Level  errorLevel,
std::string  error,
std::string  detail 
)

Definition at line 51 of file commodity.hpp.

Member Data Documentation

◆ errorLevel

Level errorLevel

Definition at line 46 of file commodity.hpp.

◆ tradeId

std::string tradeId

Definition at line 47 of file commodity.hpp.

◆ error

std::string error

Definition at line 48 of file commodity.hpp.

◆ detail

std::string detail

Definition at line 49 of file commodity.hpp.