armarx::skills::error Namespace Reference

Classes

class  FluxioException
 A base class for skill exceptions. More...
 
class  NotImplementedYetException
 The NotImplementedYetException class. More...
 
class  SkillAbortedException
 
class  SkillException
 A base class for skill exceptions. More...
 
class  SkillFailedException
 
class  SkillNotFoundException
 Indicates that a skill was not found, e.g., by the skill manager. More...
 

Enumerations

enum  ErrorCode {
  ExecutionNotFound, ExecutorNotFound, RunnerNotFound, SkillNotFound,
  SkillDescNotFound, NotFluxioCompExecutor, ProfileNotFound, ProviderNotFound,
  GenericMutexError, UserHasNoMutexError, AddSkillError, ProviderAlreadyExists,
  ConverterError, TestError, ParameterNotFound, ProfileHasNoParent,
  ProfileAlreadyExists, MissingRequired
}
 
enum  FluxioExceptionType { BAD_REQUEST, UNAUTHORIZED, FORBIDDEN, NOT_FOUND }
 

Functions

std::string createErrorMessage (ErrorCode code, const std::vector< std::string > &args)
 
std::string formatString (const std::string &format, const std::vector< std::string > &args)
 

Enumeration Type Documentation

◆ ErrorCode

enum ErrorCode
strong
Enumerator
ExecutionNotFound 
ExecutorNotFound 
RunnerNotFound 
SkillNotFound 
SkillDescNotFound 
NotFluxioCompExecutor 
ProfileNotFound 
ProviderNotFound 
GenericMutexError 
UserHasNoMutexError 
AddSkillError 
ProviderAlreadyExists 
ConverterError 
TestError 
ParameterNotFound 
ProfileHasNoParent 
ProfileAlreadyExists 
MissingRequired 

Definition at line 6 of file FluxioErrorMessages.h.

◆ FluxioExceptionType

enum FluxioExceptionType
strong
Enumerator
BAD_REQUEST 
UNAUTHORIZED 
FORBIDDEN 
NOT_FOUND 

Definition at line 13 of file FluxioException.h.

Function Documentation

◆ createErrorMessage()

std::string createErrorMessage ( ErrorCode  code,
const std::vector< std::string > &  args 
)

Definition at line 25 of file FluxioErrorMessages.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ formatString()

std::string formatString ( const std::string &  format,
const std::vector< std::string > &  args 
)

Definition at line 8 of file FluxioErrorMessages.cpp.

+ Here is the caller graph for this function: