|
Lightweight 0.20261105.1
|
Raised by the relation shortcuts that cannot return a RelationResult - operator->, operator*, begin()/end(), At() and operator[] - when the relation is unavailable.
More...
#include <Error.hpp>
Public Member Functions | |
| SqlRequireLoadedError (std::string_view columnType, RelationError error=RelationError::NotConfigured) | |
| RelationError | Error () const noexcept |
Raised by the relation shortcuts that cannot return a RelationResult - operator->, operator*, begin()/end(), At() and operator[] - when the relation is unavailable.
Prefer the accessors returning RelationResult (Record(), All(), Count(), ...) to handle the unavailable case without exceptions.
|
inlineexplicit |
|
inlinenoexcept |