Haio 0.2.X
Homebrew Asset IO/CDN
Loading...
Searching...
No Matches
Haio::Cdn::Bucket::Failure Struct Reference

#include <bucket.hpp>

Inheritance diagram for Haio::Cdn::Bucket::Failure:
Collaboration diagram for Haio::Cdn::Bucket::Failure:

Public Member Functions

 Failure (Haio::ErrorCode why, const std::string &what)

Public Attributes

Haio::ErrorCode code

Detailed Description

carries why it failed, so the http layer does not have to guess from the text.

it is not called Error because Haio::Error already is, and the two are different things: this one is thrown between the fetchers, that one is returned to a caller.

Definition at line 28 of file bucket.hpp.

Constructor & Destructor Documentation

◆ Failure()

Haio::Cdn::Bucket::Failure::Failure ( Haio::ErrorCode why,
const std::string & what )
inline

Definition at line 30 of file bucket.hpp.

Member Data Documentation

◆ code

Haio::ErrorCode Haio::Cdn::Bucket::Failure::code

Definition at line 29 of file bucket.hpp.


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