Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
Error.hh File Reference
#include <iostream>
#include <string>
#include <optional>
#include <gz/utils/ImplPtr.hh>
#include <sdf/config.hh>
#include "sdf/Console.hh"
#include "sdf/system_util.hh"

Go to the source code of this file.

Classes

class  sdf::SDF_VERSION_NAMESPACE::Error
 

Namespaces

namespace  sdf
 namespace for Simulation Description Format parser
 
namespace  sdf::SDF_VERSION_NAMESPACE
 
namespace  sdf::SDF_VERSION_NAMESPACE::internal
 Internal namespace.
 

Enumerations

enum class  sdf::SDF_VERSION_NAMESPACE::ErrorCode {
  sdf::SDF_VERSION_NAMESPACE::NONE = 0 , sdf::SDF_VERSION_NAMESPACE::FILE_READ , sdf::SDF_VERSION_NAMESPACE::DUPLICATE_NAME , sdf::SDF_VERSION_NAMESPACE::RESERVED_NAME ,
  sdf::SDF_VERSION_NAMESPACE::ATTRIBUTE_MISSING , sdf::SDF_VERSION_NAMESPACE::ATTRIBUTE_INVALID , sdf::SDF_VERSION_NAMESPACE::ATTRIBUTE_DEPRECATED , sdf::SDF_VERSION_NAMESPACE::ATTRIBUTE_INCORRECT_TYPE ,
  sdf::SDF_VERSION_NAMESPACE::ELEMENT_MISSING , sdf::SDF_VERSION_NAMESPACE::ELEMENT_INVALID , sdf::SDF_VERSION_NAMESPACE::ELEMENT_DEPRECATED , sdf::SDF_VERSION_NAMESPACE::ELEMENT_INCORRECT_TYPE ,
  sdf::SDF_VERSION_NAMESPACE::ELEMENT_ERROR , sdf::SDF_VERSION_NAMESPACE::URI_INVALID , sdf::SDF_VERSION_NAMESPACE::URI_LOOKUP , sdf::SDF_VERSION_NAMESPACE::DIRECTORY_NONEXISTANT ,
  sdf::SDF_VERSION_NAMESPACE::MODEL_CANONICAL_LINK_INVALID , sdf::SDF_VERSION_NAMESPACE::MODEL_WITHOUT_LINK , sdf::SDF_VERSION_NAMESPACE::NESTED_MODELS_UNSUPPORTED , sdf::SDF_VERSION_NAMESPACE::LINK_INERTIA_INVALID ,
  sdf::SDF_VERSION_NAMESPACE::JOINT_CHILD_LINK_INVALID , sdf::SDF_VERSION_NAMESPACE::JOINT_PARENT_LINK_INVALID , sdf::SDF_VERSION_NAMESPACE::JOINT_PARENT_SAME_AS_CHILD , sdf::SDF_VERSION_NAMESPACE::FRAME_ATTACHED_TO_INVALID ,
  sdf::SDF_VERSION_NAMESPACE::FRAME_ATTACHED_TO_CYCLE , sdf::SDF_VERSION_NAMESPACE::FRAME_ATTACHED_TO_GRAPH_ERROR , sdf::SDF_VERSION_NAMESPACE::POSE_RELATIVE_TO_INVALID , sdf::SDF_VERSION_NAMESPACE::POSE_RELATIVE_TO_CYCLE ,
  sdf::SDF_VERSION_NAMESPACE::POSE_RELATIVE_TO_GRAPH_ERROR , sdf::SDF_VERSION_NAMESPACE::ROTATION_SNAP_CONFIG_ERROR , sdf::SDF_VERSION_NAMESPACE::STRING_READ , sdf::SDF_VERSION_NAMESPACE::MODEL_PLACEMENT_FRAME_INVALID ,
  sdf::SDF_VERSION_NAMESPACE::VERSION_DEPRECATED , sdf::SDF_VERSION_NAMESPACE::MERGE_INCLUDE_UNSUPPORTED , sdf::SDF_VERSION_NAMESPACE::PARAMETER_ERROR , sdf::SDF_VERSION_NAMESPACE::UNKNOWN_PARAMETER_TYPE ,
  sdf::SDF_VERSION_NAMESPACE::FATAL_ERROR , sdf::SDF_VERSION_NAMESPACE::WARNING , sdf::SDF_VERSION_NAMESPACE::JOINT_AXIS_EXPRESSED_IN_INVALID , sdf::SDF_VERSION_NAMESPACE::CONVERSION_ERROR ,
  sdf::SDF_VERSION_NAMESPACE::PARSING_ERROR , sdf::SDF_VERSION_NAMESPACE::JOINT_AXIS_MIMIC_INVALID , sdf::SDF_VERSION_NAMESPACE::XML_ERROR
}
 Set of error codes. More...
 

Functions

void GZ_SDFORMAT_VISIBLE sdf::SDF_VERSION_NAMESPACE::internal::throwOrPrintError (sdf::Console::ConsoleStream &_out, const sdf::Error &_error)
 Prints the error to _out or throw using SDF_ASSERT depending on the ErrorCode in _error.