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

While checking result set types, failed to determine the buffer category for a type oid. The context string is formed by the ResultSet and will have the form of 'result set field foo type my_schema.bar field baz array element'. More...

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

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

Public Member Functions

 UnknownBufferCategory (std::string_view context, Oid type_oid)
 
- Public Member Functions inherited from storages::postgres::ResultSetError
 ResultSetError (std::string msg)
 
void AddMsgSuffix (std::string_view str)
 
const char * what () const noexcept override
 

Public Attributes

const Oid type_oid
 

Detailed Description

While checking result set types, failed to determine the buffer category for a type oid. The context string is formed by the ResultSet and will have the form of 'result set field foo type my_schema.bar field baz array element'.

Definition at line 687 of file exceptions.hpp.

Constructor & Destructor Documentation

◆ UnknownBufferCategory()

storages::postgres::UnknownBufferCategory::UnknownBufferCategory ( std::string_view  context,
Oid  type_oid 
)
inline

Definition at line 689 of file exceptions.hpp.

Member Data Documentation

◆ type_oid

const Oid storages::postgres::UnknownBufferCategory::type_oid

Definition at line 695 of file exceptions.hpp.


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