OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmm::gpkg::GpkgError Class Reference

Runtime-error carrier for owned GeoPackage/SQLite diagnostic text. More...

#include <GpkgUtils.hpp>

Inheritance diagram for openswmm::gpkg::GpkgError:
Collaboration diagram for openswmm::gpkg::GpkgError:

Public Member Functions

 GpkgError (const std::string &msg)
 Own a supplied GeoPackage failure message.
 
 GpkgError (const std::string &msg, int rc)
 Own a failure message with a formatted SQLite result code.
 

Detailed Description

Runtime-error carrier for owned GeoPackage/SQLite diagnostic text.

Constructor & Destructor Documentation

◆ GpkgError() [1/2]

openswmm::gpkg::GpkgError::GpkgError ( const std::string & msg)
inlineexplicit

Own a supplied GeoPackage failure message.

Allocation exceptions can propagate during construction.

Parameters
[in]msgBorrowed message copied into std::runtime_error.

◆ GpkgError() [2/2]

openswmm::gpkg::GpkgError::GpkgError ( const std::string & msg,
int rc )
inline

Own a failure message with a formatted SQLite result code.

Parameters
[in]msgBorrowed message copied into exception storage.
[in]rcSQLite result code appended as decimal text; not stored as a separate typed field.

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