Go to the documentation of this file.
25 #ifndef GOBY_MIDDLEWARE_FRONTSEAT_EXCEPTION_H
26 #define GOBY_MIDDLEWARE_FRONTSEAT_EXCEPTION_H
43 is_helm_error_(false),
60 is_helm_error_(false),
83 if (
e.is_helm_error())
85 else if (
e.is_fs_error())
88 os <<
"Unknown error.";
bool is_helm_error() const
const ::std::string & FrontSeatError_Name(FrontSeatError value)
The global namespace for the Goby project.
const ::std::string & HelmError_Name(HelmError value)
protobuf::FrontSeatError fs_err() const
Exception(protobuf::HelmError err)
protobuf::HelmError helm_err() const
std::ostream & operator<<(std::ostream &os, const goby::middleware::frontseat::Exception &e)
simple exception class for goby applications
Exception(protobuf::FrontSeatError err)