smgl 0.11.0
Structured Metadata Engine and Graph Objects Library
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
smgl::bad_connection Struct Reference

Exception thrown for port connection failures. More...

#include <smgl/Ports.hpp>

Inheritance diagram for smgl::bad_connection:
[legend]
Collaboration diagram for smgl::bad_connection:
[legend]

Public Member Functions

 bad_connection (const char *msg)
 
 bad_connection (std::string msg)
 
const char * what () const noexcept override
 
- Public Member Functions inherited from std::exception
T exception (T... args)
 
T operator= (T... args)
 
T what (T... args)
 
T ~exception (T... args)
 

Protected Attributes

std::string msg_
 

Detailed Description

Exception thrown for port connection failures.

Definition at line 18 of file Ports.hpp.

Constructor & Destructor Documentation

◆ bad_connection() [1/2]

smgl::bad_connection::bad_connection ( const char *  msg)
inlineexplicit

Construct with message

Definition at line 21 of file Ports.hpp.

◆ bad_connection() [2/2]

smgl::bad_connection::bad_connection ( std::string  msg)
inlineexplicit

Construct with message

Definition at line 23 of file Ports.hpp.

Member Function Documentation

◆ what()

const char * smgl::bad_connection::what ( ) const
inlineoverridenoexcept

Get message

Definition at line 25 of file Ports.hpp.

Member Data Documentation

◆ msg_

std::string smgl::bad_connection::msg_
protected

Exception message

Definition at line 29 of file Ports.hpp.


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