Public Types | Public Member Functions | Public Attributes | Static Private Member Functions | List of all members
lanelet::LaneletMultiError Class Reference

Thrown when multiple errors occur at the same time. More...

#include <Exceptions.h>

Inheritance diagram for lanelet::LaneletMultiError:
Inheritance graph
[legend]

Public Types

using ErrorMessages = std::vector< std::string >
 

Public Member Functions

 LaneletMultiError (const std::string &err)
 
 LaneletMultiError (ErrorMessages messages={})
 

Public Attributes

const ErrorMessages errorMessages
 The individual error strings. More...
 

Static Private Member Functions

static std::string combineErrors (const ErrorMessages &m)
 

Detailed Description

Thrown when multiple errors occur at the same time.

Construction is not exception-save, don't throw this on memory errors!

Definition at line 20 of file Exceptions.h.

Member Typedef Documentation

◆ ErrorMessages

using lanelet::LaneletMultiError::ErrorMessages = std::vector<std::string>

Definition at line 22 of file Exceptions.h.

Constructor & Destructor Documentation

◆ LaneletMultiError() [1/2]

lanelet::LaneletMultiError::LaneletMultiError ( const std::string &  err)
inlineexplicit

Definition at line 23 of file Exceptions.h.

◆ LaneletMultiError() [2/2]

lanelet::LaneletMultiError::LaneletMultiError ( ErrorMessages  messages = {})
inlineexplicit

Definition at line 24 of file Exceptions.h.

Member Function Documentation

◆ combineErrors()

static std::string lanelet::LaneletMultiError::combineErrors ( const ErrorMessages m)
inlinestaticprivate

Definition at line 29 of file Exceptions.h.

Member Data Documentation

◆ errorMessages

const ErrorMessages lanelet::LaneletMultiError::errorMessages

The individual error strings.

Definition at line 26 of file Exceptions.h.


The documentation for this class was generated from the following file:


lanelet2_core
Author(s): Fabian Poggenhans
autogenerated on Thu Mar 6 2025 03:25:52