userver: engine::io::IoSystemError Class Reference
Loading...
Searching...
No Matches
engine::io::IoSystemError Class Reference

#include <userver/engine/io/exception.hpp>

Detailed Description

Operating system I/O error.

Definition at line 52 of file exception.hpp.

+ Inheritance diagram for engine::io::IoSystemError:
+ Collaboration diagram for engine::io::IoSystemError:

Public Member Functions

 IoSystemError (int err_value, std::string_view reason)
 
 IoSystemError (std::error_code code, std::string_view reason)
 
const std::error_code & Code () const
 Operating system error code.
 
- Public Member Functions inherited from engine::io::IoException
 IoException (std::string_view message)
 
- Public Member Functions inherited from utils::TracefulException
const charwhat () const noexcept override
 
 TracefulExceptionBase ()
 
 TracefulExceptionBase (std::string_view what)
 
 TracefulExceptionBase (TraceMode trace_mode)
 
 TracefulExceptionBase (TracefulExceptionBase &&) noexcept
 
- Public Member Functions inherited from utils::TracefulExceptionBase
 TracefulExceptionBase (std::string_view what)
 
 TracefulExceptionBase (TraceMode trace_mode)
 
 TracefulExceptionBase (TracefulExceptionBase &&) noexcept
 
const MemoryBuffer & MessageBuffer () const noexcept
 
const boost::stacktrace::basic_stacktrace & Trace () const noexcept
 

Additional Inherited Members

- Public Types inherited from utils::TracefulExceptionBase
enum class  TraceMode {
  kAlways ,
  kIfLoggingIsEnabled
}
 
using MemoryBuffer = fmt::basic_memory_buffer<char, kInlineBufferSize>
 
- Static Public Attributes inherited from utils::TracefulExceptionBase
static constexpr size_t kInlineBufferSize = 100
 

Member Function Documentation

◆ Code()

const std::error_code & engine::io::IoSystemError::Code ( ) const
inline

Operating system error code.

Definition at line 58 of file exception.hpp.


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