Exception type for errors originating from the OBJ API.  
 More...
#include <donut/obj.hpp>
|  | 
| std::string_view::iterator | position | 
|  | Iterator into the source OBJ string where the error originated from. 
 | 
|  | 
| std::size_t | lineNumber | 
|  | Line number, starting at 1 for the first line, where the error occured. 
 | 
|  | 
Exception type for errors originating from the OBJ API. 
◆ Error() [1/2]
  
  | 
        
          | donut::obj::Error::Error | ( | const std::string & | message, |  
          |  |  | std::string_view::iterator | position, |  
          |  |  | std::size_t | lineNumber |  
          |  | ) |  |  |  | inline | 
 
 
◆ Error() [2/2]
  
  | 
        
          | donut::obj::Error::Error | ( | const char * | message, |  
          |  |  | std::string_view::iterator | position, |  
          |  |  | std::size_t | lineNumber |  
          |  | ) |  |  |  | inline | 
 
 
◆ position
      
        
          | std::string_view::iterator donut::obj::Error::position | 
      
 
Iterator into the source OBJ string where the error originated from. 
 
 
◆ lineNumber
      
        
          | std::size_t donut::obj::Error::lineNumber | 
      
 
Line number, starting at 1 for the first line, where the error occured. 
 
 
The documentation for this struct was generated from the following file: