#include <userver/engine/io/exception.hpp>
I/O interruption.
Definition at line 25 of file exception.hpp.
Public Member Functions | |
IoInterrupted (std::string_view reason, size_t bytes_transferred) | |
size_t | BytesTransferred () const |
Number of bytes transferred before interruption. | |
Public Member Functions inherited from engine::io::IoException | |
IoException (std::string_view message) | |
Public Member Functions inherited from utils::TracefulException | |
const char * | what () 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 |
|
inline |
Number of bytes transferred before interruption.
Definition at line 30 of file exception.hpp.