KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ki_exception.h File Reference
#include <kicommon.h>
#include <wx/string.h>

Go to the source code of this file.

Classes

class  KI_PARAM_ERROR
 Hold a translatable error message and may be used when throwing exceptions containing a translated error message. More...
 
class  IO_ERROR
 Hold an error message and may be used when throwing exceptions containing meaningful error messages. More...
 
class  IO_CANCELLED
 An exception saying that the user cancelled an interactive part of a load, import, or export, such as declining a query dialog or dismissing a progress dialog, rather than an error in the input. More...
 
struct  PARSE_ERROR
 A filename or source description, a problem input line, a line number, a byte offset, and an error message which contains the caller's report and his call site information: CPP source file, function, and line number. More...
 
struct  FUTURE_FORMAT_ERROR
 Variant of PARSE_ERROR indicating that a syntax or related error was likely caused by a file generated by a newer version of KiCad than this. More...
 

Macros

#define THROW_IO_ERROR(msg)
 macro which captures the "call site" values of FILE_, __FUNCTION & LINE
 
#define THROW_IO_ERRORF(msg, ...)
 
#define THROW_IO_CANCELLED()
 
#define THROW_IO_CANCELLED_MSG(msg)
 
#define THROW_PARSE_ERROR(aProblem, aSource, aInputLine, aLineNumber, aByteIndex)