Github   Telegram
Loading...
Searching...
No Matches
Public Member Functions | List of all members
storages::postgres::TypeCannotBeNull Class Reference

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. More...

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

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

Public Member Functions

 TypeCannotBeNull (std::string_view type)
 
- Public Member Functions inherited from storages::postgres::ResultSetError
 ResultSetError (std::string msg)
 
void AddMsgSuffix (std::string_view str)
 
const char * what () const noexcept override
 

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 663 of file exceptions.hpp.

Constructor & Destructor Documentation

◆ TypeCannotBeNull()

storages::postgres::TypeCannotBeNull::TypeCannotBeNull ( std::string_view  type)
inline

Definition at line 665 of file exceptions.hpp.


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