JSON Voorhees
Killer JSON for C++
Loading...
Searching...
No Matches
jsonv::result_error_operations< TSelf, TError > Class Template Reference

The set of result operations which depend on the type of TError. More...

#include <jsonv/result.hpp>

+ Inheritance diagram for jsonv::result_error_operations< TSelf, TError >:

Public Types

using error_type = TError
 See result::error_type.
 

Public Member Functions

const error_typeerror () const &
 
error_typeerror () &
 
error_type && error () &&
 

Detailed Description

template<typename TSelf, typename TError>
class jsonv::result_error_operations< TSelf, TError >

The set of result operations which depend on the type of TError.

See also
result

Definition at line 783 of file result.hpp.

Member Typedef Documentation

◆ error_type

See result::error_type.

Definition at line 789 of file result.hpp.

Member Function Documentation

◆ error() [1/3]

Definition at line 803 of file result.hpp.

◆ error() [2/3]

Definition at line 810 of file result.hpp.

◆ error() [3/3]

Get the error value inside of this result if it is result_state::error.

Exceptions
bad_result_accessif state is not result_state::error.

Definition at line 796 of file result.hpp.


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