\doxysection{fourdst\+::composition\+::exceptions\+::Composition\+Error Class Reference}
\hypertarget{classfourdst_1_1composition_1_1exceptions_1_1_composition_error}{}\label{classfourdst_1_1composition_1_1exceptions_1_1_composition_error}\index{fourdst::composition::exceptions::CompositionError@{fourdst::composition::exceptions::CompositionError}}


Base class for exceptions related to composition objects.  




{\ttfamily \#include $<$exceptions\+\_\+composition.\+h$>$}



Inheritance diagram for fourdst\+::composition\+::exceptions\+::Composition\+Error\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classfourdst_1_1composition_1_1exceptions_1_1_composition_error__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for fourdst\+::composition\+::exceptions\+::Composition\+Error\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=274pt]{classfourdst_1_1composition_1_1exceptions_1_1_composition_error__coll__graph}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classfourdst_1_1composition_1_1exceptions_1_1_composition_error_aef0cd13a4d1eb60b6d75ca5480e9146c}{Composition\+Error}} (const std\+::string \&message)
\begin{DoxyCompactList}\small\item\em Constructs a \doxylink{classfourdst_1_1composition_1_1exceptions_1_1_composition_error}{Composition\+Error} with an error message. \end{DoxyCompactList}\item 
const char \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{classfourdst_1_1composition_1_1exceptions_1_1_composition_error_ae44ceddb19da8a8cda7ee150b6826d08}{what}} () const noexcept override
\begin{DoxyCompactList}\small\item\em Returns the error message. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\+::string \mbox{\hyperlink{classfourdst_1_1composition_1_1exceptions_1_1_composition_error_a4cd69d727a162f90045cd6d4aaf95440}{m\+\_\+message}}
\begin{DoxyCompactList}\small\item\em The error message. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Base class for exceptions related to composition objects. 

This exception is thrown when an error occurs at the composition level, such as invalid configuration or state. 

Definition at line \mbox{\hyperlink{exceptions__composition_8h_source_l00014}{14}} of file \mbox{\hyperlink{exceptions__composition_8h_source}{exceptions\+\_\+composition.\+h}}.



\doxysubsection{Constructor \& Destructor Documentation}
\Hypertarget{classfourdst_1_1composition_1_1exceptions_1_1_composition_error_aef0cd13a4d1eb60b6d75ca5480e9146c}\index{fourdst::composition::exceptions::CompositionError@{fourdst::composition::exceptions::CompositionError}!CompositionError@{CompositionError}}
\index{CompositionError@{CompositionError}!fourdst::composition::exceptions::CompositionError@{fourdst::composition::exceptions::CompositionError}}
\doxysubsubsection{\texorpdfstring{CompositionError()}{CompositionError()}}
{\footnotesize\ttfamily \label{classfourdst_1_1composition_1_1exceptions_1_1_composition_error_aef0cd13a4d1eb60b6d75ca5480e9146c} 
fourdst\+::composition\+::exceptions\+::\+Composition\+Error\+::\+Composition\+Error (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{message}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}



Constructs a \doxylink{classfourdst_1_1composition_1_1exceptions_1_1_composition_error}{Composition\+Error} with an error message. 


\begin{DoxyParams}{Parameters}
{\em message} & The error message. \\
\hline
\end{DoxyParams}


Definition at line \mbox{\hyperlink{exceptions__composition_8h_source_l00025}{25}} of file \mbox{\hyperlink{exceptions__composition_8h_source}{exceptions\+\_\+composition.\+h}}.



\doxysubsection{Member Function Documentation}
\Hypertarget{classfourdst_1_1composition_1_1exceptions_1_1_composition_error_ae44ceddb19da8a8cda7ee150b6826d08}\index{fourdst::composition::exceptions::CompositionError@{fourdst::composition::exceptions::CompositionError}!what@{what}}
\index{what@{what}!fourdst::composition::exceptions::CompositionError@{fourdst::composition::exceptions::CompositionError}}
\doxysubsubsection{\texorpdfstring{what()}{what()}}
{\footnotesize\ttfamily \label{classfourdst_1_1composition_1_1exceptions_1_1_composition_error_ae44ceddb19da8a8cda7ee150b6826d08} 
const char \texorpdfstring{$\ast$}{*} fourdst\+::composition\+::exceptions\+::\+Composition\+Error\+::what (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [override]}, {\ttfamily [noexcept]}}



Returns the error message. 

\begin{DoxyReturn}{Returns}
A C-\/style string containing the error message. 
\end{DoxyReturn}


Definition at line \mbox{\hyperlink{exceptions__composition_8h_source_l00032}{32}} of file \mbox{\hyperlink{exceptions__composition_8h_source}{exceptions\+\_\+composition.\+h}}.



\doxysubsection{Member Data Documentation}
\Hypertarget{classfourdst_1_1composition_1_1exceptions_1_1_composition_error_a4cd69d727a162f90045cd6d4aaf95440}\index{fourdst::composition::exceptions::CompositionError@{fourdst::composition::exceptions::CompositionError}!m\_message@{m\_message}}
\index{m\_message@{m\_message}!fourdst::composition::exceptions::CompositionError@{fourdst::composition::exceptions::CompositionError}}
\doxysubsubsection{\texorpdfstring{m\_message}{m\_message}}
{\footnotesize\ttfamily \label{classfourdst_1_1composition_1_1exceptions_1_1_composition_error_a4cd69d727a162f90045cd6d4aaf95440} 
std\+::string fourdst\+::composition\+::exceptions\+::\+Composition\+Error\+::m\+\_\+message\hspace{0.3cm}{\ttfamily [protected]}}



The error message. 



Definition at line \mbox{\hyperlink{exceptions__composition_8h_source_l00019}{19}} of file \mbox{\hyperlink{exceptions__composition_8h_source}{exceptions\+\_\+composition.\+h}}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
src/composition/include/fourdst/composition/exceptions/\mbox{\hyperlink{exceptions__composition_8h}{exceptions\+\_\+composition.\+h}}\end{DoxyCompactItemize}
