An exception type thrown by Expected on catastrophic logic errors, i.e., when the caller tries to access the value within an Expected but when the Expected instead contains an error.
Synopsis
Declared in <folly/Expected.h>
template<class Error>
class BadExpectedAccess
: public BadExpectedAccess<void>
Base Classes
Name |
Description |
A common base type for exceptions thrown by Expected when the caller erroneously requests a value. |
Member Functions
Name |
Description |
|
Constructs the exception from the error that could not be accessed. |
Assignment operators |
|
|
|
|
Specializations
Name |
Description |
A common base type for exceptions thrown by Expected when the caller erroneously requests a value. |
Created with MrDocs