Internal namespace. More...
Functions | |
void GZ_SDFORMAT_VISIBLE | 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. | |
Internal namespace.
Functions and classes defined in this namespace are for internal use only and maybe removed without a deprecation cycle.
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.
[out] | _out | ostream to use for printing errors. |
[in] | _error | _error The error object to be printed |
Referenced by sdf::SDF_VERSION_NAMESPACE::Element::Get(), and sdf::SDF_VERSION_NAMESPACE::Element::Set().