Banuba SDK
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
bnb::resource_loading_error Class Reference
Inheritance diagram for bnb::resource_loading_error:
bnb::runtime_error bnb::domain_specific_data

Public Member Functions

 resource_loading_error (std::string domain, std::string message, std::string resource) noexcept
 
const char * resource () const noexcept
 
- Public Member Functions inherited from bnb::runtime_error
 runtime_error (std::string domain, std::string message) noexcept
 
- Public Member Functions inherited from bnb::domain_specific_data
const char * domain () const noexcept
 

Protected Attributes

std::string m_resource
 
- Protected Attributes inherited from bnb::domain_specific_data
std::string m_domain
 

Additional Inherited Members

- Protected Member Functions inherited from bnb::domain_specific_data
 domain_specific_data (std::string domain) noexcept
 

Detailed Description

Definition at line 61 of file exceptions.hpp.

Constructor & Destructor Documentation

◆ resource_loading_error()

bnb::resource_loading_error::resource_loading_error ( std::string domain,
std::string message,
std::string resource )
inlinenoexcept

Definition at line 64 of file exceptions.hpp.

67 : bnb::runtime_error(std::move(domain), message + ". For: " + resource)
68 , m_resource(std::move(resource))
69 {
70 }

Member Function Documentation

◆ resource()

const char * bnb::resource_loading_error::resource ( ) const
inlinenoexcept

Definition at line 72 of file exceptions.hpp.

73 {
74 return m_resource.c_str();
75 }

Member Data Documentation

◆ m_resource

std::string bnb::resource_loading_error::m_resource
protected

Definition at line 78 of file exceptions.hpp.


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