#include <userver/storages/postgres/exceptions.hpp>
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 668 of file exceptions.hpp.
Public Member Functions | |
TypeCannotBeNull (std::string_view type) | |
void | AddMsgSuffix (std::string_view str) |
void | AddMsgPrefix (std::string_view str) |
const char * | what () const noexcept override |