Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::exception::KeyNotSet Class Referencefinal

#include <exception.hpp>

Inheritance diagram for iv::exception::KeyNotSet:
[legend]
Collaboration diagram for iv::exception::KeyNotSet:
[legend]

Public Member Functions

 KeyNotSet (std::string_view algo)
 
eExceptionType exceptionType () const noexcept override
 
virtual int64_t errorCode () const noexcept
 
const char * what () const noexcept override
 

Protected Attributes

std::string m_msg
 

Detailed Description

The key was not set on an object. This occurs with symmetric objects where an operation which requires the key is called prior to set_key being called.

Constructor & Destructor Documentation

◆ KeyNotSet()

iv::exception::KeyNotSet::KeyNotSet ( std::string_view algo)
inlineexplicit

Member Function Documentation

◆ errorCode()

virtual int64_t iv::exception::Exception::errorCode ( ) const
inlinenodiscardvirtualnoexceptinherited

Reimplemented in iv::exception::SystemError.

◆ exceptionType()

eExceptionType iv::exception::KeyNotSet::exceptionType ( ) const
inlinenodiscardoverridevirtualnoexcept

Reimplemented from iv::exception::InvalidState.

◆ what()

const char * iv::exception::Exception::what ( ) const
inlinenodiscardoverridenoexceptinherited

Member Data Documentation

◆ m_msg

std::string iv::exception::Exception::m_msg
protectedinherited

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