Conscience Core
Public Member Functions | Public Attributes | List of all members
conscience_core::bridging::commands::CommandExecutionException Class Reference

#include <Command.h>

Inheritance diagram for conscience_core::bridging::commands::CommandExecutionException:

Public Member Functions

 CommandExecutionException (const string &type, const string &message, const optional< int > &code={})
 
string toJson () const
 

Public Attributes

const string type
 
const optional< int > code
 

Detailed Description

thrown when error is detected in command execution

Constructor & Destructor Documentation

◆ CommandExecutionException()

conscience_core::bridging::commands::CommandExecutionException::CommandExecutionException ( const string &  type,
const string &  message,
const optional< int > &  code = {} 
)

Member Function Documentation

◆ toJson()

string conscience_core::bridging::commands::CommandExecutionException::toJson ( ) const

Member Data Documentation

◆ code

const optional<int> conscience_core::bridging::commands::CommandExecutionException::code

◆ type

const string conscience_core::bridging::commands::CommandExecutionException::type

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