DBC Framework
DBC parsing and CAN signal decoding framework
Loading...
Searching...
No Matches
DbcDiagnosticError Class Reference

#include <dbc_statement_handler.h>

+ Inheritance diagram for DbcDiagnosticError:

Public Member Functions

 DbcDiagnosticError (DbcDiagnosticCode code, const std::string &filePath, std::size_t lineNumber, const std::string &message)
 Create an exception with a structured source diagnostic.
 

Public Attributes

DbcDiagnostic diagnostic
 

Detailed Description

Carries deferred validation locations without parsing exception text.

Definition at line 32 of file dbc_statement_handler.h.

Constructor & Destructor Documentation

◆ DbcDiagnosticError()

DbcDiagnosticError::DbcDiagnosticError ( DbcDiagnosticCode  code,
const std::string &  filePath,
std::size_t  lineNumber,
const std::string &  message 
)
inline

Create an exception with a structured source diagnostic.

Definition at line 35 of file dbc_statement_handler.h.

Member Data Documentation

◆ diagnostic

DbcDiagnostic DbcDiagnosticError::diagnostic

Structured error accompanying the exception message.

Definition at line 40 of file dbc_statement_handler.h.

Referenced by DbcParser::ParseFileWithDiagnostics().


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