proxygen
folly::ConversionError Class Reference

#include <Conv.h>

Inheritance diagram for folly::ConversionError:
folly::ConversionErrorBase

Public Member Functions

 ConversionError (const std::string &str, ConversionCode code)
 
 ConversionError (const char *str, ConversionCode code)
 
ConversionCode errorCode () const
 

Private Attributes

ConversionCode code_
 

Detailed Description

Definition at line 75 of file Conv.h.

Constructor & Destructor Documentation

folly::ConversionError::ConversionError ( const std::string str,
ConversionCode  code 
)
inline

Definition at line 77 of file Conv.h.

78  : ConversionErrorBase(str), code_(code) {}
ConversionCode code_
Definition: Conv.h:88
folly::ConversionError::ConversionError ( const char *  str,
ConversionCode  code 
)
inline

Definition at line 80 of file Conv.h.

81  : ConversionErrorBase(str), code_(code) {}
ConversionCode code_
Definition: Conv.h:88

Member Function Documentation

ConversionCode folly::ConversionError::errorCode ( ) const
inline

Definition at line 83 of file Conv.h.

Referenced by TEST().

83  {
84  return code_;
85  }
ConversionCode code_
Definition: Conv.h:88

Member Data Documentation

ConversionCode folly::ConversionError::code_
private

Definition at line 88 of file Conv.h.


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