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

#include <exception.hpp>

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

Public Member Functions

 InvalidKeyLength (std::string_view name, size_t length)
 
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

An invalid key length was used

Constructor & Destructor Documentation

◆ InvalidKeyLength()

iv::exception::InvalidKeyLength::InvalidKeyLength ( std::string_view name,
size_t length )
inline

Member Function Documentation

◆ errorCode()

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

Reimplemented in iv::exception::SystemError.

◆ exceptionType()

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

Reimplemented from iv::exception::InvalidArgument.

◆ 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: