qHexWalker 0.0.1
Hexagonal Grid Pathfinding & Maze Visualization on Interactive Maps
Loading...
Searching...
No Matches
PathfindingException Class Referencefinal

Exception class for pathfinding errors. More...

#include <pathfindingErrors.h>

+ Inheritance diagram for PathfindingException:
+ Collaboration diagram for PathfindingException:

Public Member Functions

 PathfindingException (const PathfindingError error)
 
PathfindingError errorCode () const noexcept
 

Private Attributes

PathfindingError errorCode_
 

Detailed Description

Exception class for pathfinding errors.

Wraps PathfindingError enum for exception-based error handling.

Definition at line 75 of file pathfindingErrors.h.

Constructor & Destructor Documentation

◆ PathfindingException()

PathfindingException::PathfindingException ( const PathfindingError  error)
inlineexplicit

Definition at line 77 of file pathfindingErrors.h.

Member Function Documentation

◆ errorCode()

PathfindingError PathfindingException::errorCode ( ) const
inlinenoexcept

Definition at line 80 of file pathfindingErrors.h.

References errorCode_.

Member Data Documentation

◆ errorCode_

PathfindingError PathfindingException::errorCode_
private

Definition at line 83 of file pathfindingErrors.h.

Referenced by errorCode().


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