proxygen
fizz::ReportError Struct Reference

#include <Actions.h>

Public Member Functions

 ReportError (const std::string &errorMsg)
 
 ReportError (folly::exception_wrapper e)
 

Public Attributes

folly::exception_wrapper error
 

Detailed Description

Reports that a fatal error has occured on the connection.

Definition at line 49 of file Actions.h.

Constructor & Destructor Documentation

fizz::ReportError::ReportError ( const std::string errorMsg)
inlineexplicit

Definition at line 52 of file Actions.h.

53  : error(folly::make_exception_wrapper<std::runtime_error>(errorMsg)) {}
folly::exception_wrapper error
Definition: Actions.h:50
fizz::ReportError::ReportError ( folly::exception_wrapper  e)
inlineexplicit

Definition at line 55 of file Actions.h.

55 : error(std::move(e)) {}
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
folly::exception_wrapper error
Definition: Actions.h:50

Member Data Documentation


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