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

#include <exception.hpp>

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

Public Member Functions

 ProviderNotFound (std::string_view algo, std::string_view provider)
 
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

ProviderNotFound is thrown when a specific provider was requested but that provider is not available.

Warning
This exception type will be removed in the future. Instead, just catch LookupError.

Constructor & Destructor Documentation

◆ ProviderNotFound()

iv::exception::ProviderNotFound::ProviderNotFound ( std::string_view algo,
std::string_view provider )
inline

Member Function Documentation

◆ errorCode()

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

Reimplemented in iv::exception::SystemError.

◆ exceptionType()

eExceptionType iv::exception::LookupError::exceptionType ( ) const
inlinenodiscardoverridevirtualnoexceptinherited

Reimplemented from iv::exception::Exception.

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