userver: storages::postgres::TypeCannotBeNull Class Reference
Loading...
Searching...
No Matches
storages::postgres::TypeCannotBeNull Class Reference

#include <userver/storages/postgres/exceptions.hpp>

Detailed Description

A value of a non-nullable type requested to be set null. Can occur if io::traits::IsNullable for the type is specialised as true_type, but io::traits::GetSetNull is not specialized appropriately.

Definition at line 659 of file exceptions.hpp.

+ Inheritance diagram for storages::postgres::TypeCannotBeNull:

Public Member Functions

 TypeCannotBeNull (std::string_view type)
 
void AddMsgSuffix (std::string_view str)
 
const char * what () const noexcept override
 

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