#include <userver/engine/io/exception.hpp>
I/O interruption.
Definition at line 25 of file exception.hpp.
Public Types | |
enum class | TraceMode { kAlways , kIfLoggingIsEnabled } |
using | MemoryBuffer = fmt::basic_memory_buffer<char, kInlineBufferSize> |
Public Member Functions | |
IoInterrupted (std::string_view reason, size_t bytes_transferred) | |
size_t | BytesTransferred () const |
Number of bytes transferred before interruption. | |
const char * | what () const noexcept override |
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 |
Static Public Attributes | |
static constexpr size_t | kInlineBufferSize = 100 |
|
inherited |
Definition at line 31 of file traceful_exception.hpp.
|
stronginherited |
Definition at line 25 of file traceful_exception.hpp.
|
inline |
Number of bytes transferred before interruption.
Definition at line 30 of file exception.hpp.
|
staticconstexprinherited |
Definition at line 30 of file traceful_exception.hpp.