maliput_sparse
Validator::Error Struct Reference

Detailed Description

Error struct that contains the error message, type, and severity.

#include <include/maliput_sparse/parser/validator.h>

Public Types

enum  Severity { kWarning, kError }
 The severity of the error. More...
 

Public Member Functions

bool operator== (const Error &other) const
 Equality operator for Error. More...
 
bool operator!= (const Error &other) const
 Inequality operator for Error. More...
 

Public Attributes

std::string message
 Message describing the error. More...
 
Validator::Type type
 The type of error. More...
 
Severity severity
 The severity of the error. More...
 

Member Enumeration Documentation

◆ Severity

enum Severity
strong

The severity of the error.

Enumerator
kWarning 
kError 

Member Function Documentation

◆ operator!=()

bool operator!= ( const Error other) const

Inequality operator for Error.

◆ operator==()

bool operator== ( const Error other) const

Equality operator for Error.

Member Data Documentation

◆ message

std::string message

Message describing the error.

◆ severity

Severity severity

The severity of the error.

◆ type

The type of error.


The documentation for this struct was generated from the following files: