ADatabaseError.3 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. .TH "DatabaseError" 3 "Fri Mar 4 2022" "openPilotLog" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. DatabaseError \- Custom Database Error derived from QSqlError\&. Extends text() adding 'Database Error: ' before the text\&. Errors that are related to SQL are assigned their respective error codes\&. Errors that occur with data in the database are handled with the error code 'opl' and QSqlError::UnknownError\&.
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .PP
  10. \fC#include <database\&.h>\fP
  11. .PP
  12. Inherits QSqlError\&.
  13. .SS "Public Member Functions"
  14. .in +1c
  15. .ti -1c
  16. .RI "\fBDatabaseError\fP (QString msg)"
  17. .br
  18. .ti -1c
  19. .RI "QString \fBtext\fP () const"
  20. .br
  21. .ti -1c
  22. .RI "\fBDatabaseError\fP (QSqlError)"
  23. .br
  24. .in -1c
  25. .SH "Detailed Description"
  26. .PP
  27. Custom Database Error derived from QSqlError\&. Extends text() adding 'Database Error: ' before the text\&. Errors that are related to SQL are assigned their respective error codes\&. Errors that occur with data in the database are handled with the error code 'opl' and QSqlError::UnknownError\&.
  28. .SH "Author"
  29. .PP
  30. Generated automatically by Doxygen for openPilotLog from the source code\&.