proxygen
fizz::FizzException Class Reference

#include <Types.h>

Inheritance diagram for fizz::FizzException:
fizz::FizzVerificationException

Public Member Functions

 FizzException (const std::string &msg, folly::Optional< AlertDescription > alert)
 
folly::Optional< AlertDescriptiongetAlert () const
 

Private Attributes

folly::Optional< AlertDescriptionalert_
 

Detailed Description

Definition at line 319 of file Types.h.

Constructor & Destructor Documentation

fizz::FizzException::FizzException ( const std::string msg,
folly::Optional< AlertDescription alert 
)
inline

Definition at line 321 of file Types.h.

322  : std::runtime_error(msg), alert_(alert) {}
folly::Optional< AlertDescription > alert_
Definition: Types.h:329

Member Function Documentation

folly::Optional<AlertDescription> fizz::FizzException::getAlert ( ) const
inline

Definition at line 324 of file Types.h.

Referenced by fizz::server::detail::processEvent(), and fizz::client::detail::processEvent().

324  {
325  return alert_;
326  }
folly::Optional< AlertDescription > alert_
Definition: Types.h:329

Member Data Documentation

folly::Optional<AlertDescription> fizz::FizzException::alert_
private

Definition at line 329 of file Types.h.


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