-------------------------------------------------------------------- */ sde_error */ -------------------------------------------------------------------- */ Reports more detailed error information from SDE */ -------------------------------------------------------------------- */
| 146 | /* Reports more detailed error information from SDE */ |
| 147 | /* -------------------------------------------------------------------- */ |
| 148 | static void sde_error(long error_code, char *routine, char *sde_routine) |
| 149 | { |
| 150 | char error_string[SE_MAX_MESSAGE_LENGTH]; |
| 151 | |
| 152 | error_string[0] = '\0'; |
| 153 | SE_error_get_string(error_code, error_string); |
| 154 | |
| 155 | msSetError( MS_SDEERR, |
| 156 | "%s: %s. (%ld)", |
| 157 | routine, |
| 158 | sde_routine, |
| 159 | error_string, |
| 160 | error_code); |
| 161 | |
| 162 | return; |
| 163 | } |
| 164 | |
| 165 | |
| 166 | /* -------------------------------------------------------------------- */ |
no test coverage detected