0.6.0
C++ to UML diagram generator based on Clang
Loading...
Searching...
No Matches
Private Member Functions | List of all members
clanguml::error::invalid_sequence_from_condition Class Reference

Detailed Description

Definition at line 72 of file error.h.

#include <error.h>

Private Member Functions

 diagram_generation_error (common::model::diagram_t type, std::string name, std::string description)
 

Additional Inherited Members

- Public Member Functions inherited from clanguml::error::diagram_generation_error
 diagram_generation_error (common::model::diagram_t type, std::string name, std::string description)
 
const char * what () const noexcept override
 
const std::string & diagram_name () const noexcept
 
common::model::diagram_t diagram_type () const noexcept
 

Member Function Documentation

◆ diagram_generation_error()

clanguml::error::diagram_generation_error::diagram_generation_error ( common::model::diagram_t  type,
std::string  name,
std::string  description 
)
inlineprivate

Definition at line 45 of file error.h.

47 : std::runtime_error{description}
48 , type_{type}
49 , name_{std::move(name)}
50 {
51 message_ =
52 fmt::format("Generation of {} diagram '{}' failed due to: {}",
53 diagram_type(), diagram_name(), description);
54 }

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