Calculator
Extensible stack-based calculator primarily in library form
Error.h File Reference
#include <string>
Include dependency graph for Error.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Calculator
 Container of Calculator resources.
 
 Calculator::Error
 Error / Return values of Stack Operations to ensure consistency.
 

Variables

const std::string Calculator::Error::Ok = "Ok"
 Operation was successful. More...
 
const std::string Calculator::Error::StackUnderflow = "Insufficient Stack Arguments"
 Operation required more items than the Stack had available. More...
 
const std::string Calculator::Error::VariableNotSet = "Variable is not set"
 Operation required a variable. More...
 
const std::string Calculator::Error::VariableReferencesSelf = "Variable references itself and has no value"
 Variable dereferences to itself directly or indirectly and cannot be read. More...