Exception thrown when a conversion fails, carrying a ConversionCode.

Synopsis

Declared in <folly/Conv.h>

class ConversionError
    : public ConversionErrorBase

Base Classes

Name

Description

ConversionErrorBase

Base class for exceptions thrown by folly conversion routines.

Member Functions

Name

Description

ConversionError [constructor]

Construct from an error message string and a conversion code.

operator=

errorCode

Return the conversion error code describing the failure.

Using Declarations

Name

Description

ConversionErrorBase

Inherit the constructors of std::range_error.

Non-Member Functions

Name

Description

makeConversionError

Custom Error Translation

Created with MrDocs