StormByte C++ Library: Crypto module 0.0.9999
StormByte-Crypto is a StormByte library module for handling cryptographic operations
Loading...
Searching...
No Matches
Public Member Functions | List of all members
StormByte::Crypto::Exception Class Reference

A class representing an exception in the crypto module. More...

#include <exception.hxx>

Inheritance diagram for StormByte::Crypto::Exception:
Inheritance graph
[legend]
Collaboration diagram for StormByte::Crypto::Exception:
Collaboration graph
[legend]

Public Member Functions

 Exception (const std::string &message)
 Constructor.
 
template<typename... Args>
 Exception (const std::string &component, std::format_string< Args... > fmt, Args &&... args)
 Constructor.
 

Detailed Description

A class representing an exception in the crypto module.

Constructor & Destructor Documentation

◆ Exception() [1/2]

StormByte::Crypto::Exception::Exception ( const std::string &  message)
inline

Constructor.

Parameters
messageThe exception message.

◆ Exception() [2/2]

template<typename... Args>
StormByte::Crypto::Exception::Exception ( const std::string &  component,
std::format_string< Args... >  fmt,
Args &&...  args 
)
inline

Constructor.

Parameters
componentThe component where the exception occurred.
fmtThe format string for the exception message.
argsThe arguments for the format string.

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