FlatCityBuf C++ reader 0.8.0
Native C++17 reader for FlatCityBuf, the cloud-optimized CityJSON format
Loading...
Searching...
No Matches
fcb::Error Class Reference

Every failure the library reports is one of these. More...

#include <fcb/error.hpp>

Inheritance diagram for fcb::Error:

Public Member Functions

 Error (ErrorCode code, const std::string &message)
 
ErrorCode code () const noexcept
 

Detailed Description

Every failure the library reports is one of these.

Derives from std::runtime_error so callers that only care that something went wrong can catch it without knowing about fcb at all.

Definition at line 30 of file error.hpp.

Constructor & Destructor Documentation

◆ Error()

fcb::Error::Error ( ErrorCode  code,
const std::string &  message 
)
inline

Definition at line 32 of file error.hpp.

Member Function Documentation

◆ code()

ErrorCode fcb::Error::code ( ) const
inlinenoexcept

Definition at line 34 of file error.hpp.


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