25#ifndef GOBY_MIDDLEWARE_FRONTSEAT_EXCEPTION_H
26#define GOBY_MIDDLEWARE_FRONTSEAT_EXCEPTION_H
42 helm_err_(protobuf::ERROR_HELM_NONE),
43 is_helm_error_(false),
44 fs_err_(protobuf::ERROR_FRONTSEAT_NONE),
53 fs_err_(protobuf::ERROR_FRONTSEAT_NONE),
59 helm_err_(protobuf::ERROR_HELM_NONE),
60 is_helm_error_(false),
83 if (e.is_helm_error())
85 else if (e.is_fs_error())
88 os <<
"Unknown error.";
simple exception class for goby applications
bool is_helm_error() const
protobuf::FrontSeatError fs_err() const
Exception(protobuf::HelmError err)
protobuf::HelmError helm_err() const
Exception(protobuf::FrontSeatError err)
const std::string & HelmError_Name(T enum_t_value)
const std::string & FrontSeatError_Name(T enum_t_value)
The global namespace for the Goby project.