Development Specs: Difference between revisions
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
* MSG_RASTER_NOT_FOUND_IN_MAPSET - "Raster map [%s] not found in [%s]" | * MSG_RASTER_NOT_FOUND_IN_MAPSET - "Raster map [%s] not found in [%s]" | ||
* MSG_CANNOT_OPEN_RASTER - "Failed opening raster map [%s]" | * MSG_CANNOT_OPEN_RASTER - "Failed opening raster map [%s]" | ||
* MSG_CANNOT_OPEN_FILE - Cannot open file [%s] |
Revision as of 09:58, 3 August 2006
Systematic Approach
- Collect all possible error states from functions
- assign error codes for macros?
- G_option() parameters (like output->description = ("Path to resulting ASCII file");)
How should Error/Warning messages be formatted?
- map names in [ ]
Macros to be defined for C library
- MSG_RASTER_NOT_FOUND_IN_MAPSET - "Raster map [%s] not found in [%s]"
- MSG_CANNOT_OPEN_RASTER - "Failed opening raster map [%s]"
- MSG_CANNOT_OPEN_FILE - Cannot open file [%s]