Smartswitch
Data Members | List of all members
Smartswitch::BatchError Struct Reference

The struct contains the description of an error and a solution to work it around. More...

defined in <BatchError.ice>

struct BatchError { ... }

Data Members

string description
 The error message which could be displayed to a user. More...
 
string solution
 The possible way of working around the exception. More...
 

Detailed Description

The struct contains the description of an error and a solution to work it around.

It's used to return an exception which occurs on batch operations.
We can't throw a regular exception in that case, because it indicates an error for the whole operation.
While we need to indicate an error for a particular entry from the batch.

Data Member Documentation

◆ description

string description

The error message which could be displayed to a user.

◆ solution

string solution

The possible way of working around the exception.


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