16#ifndef CPL_VSI_ERROR_H_INCLUDED
17#define CPL_VSI_ERROR_H_INCLUDED
28typedef int VSIErrorNum;
31#define VSIE_FileError 1
32#define VSIE_HttpError 2
34#define VSIE_AWSError 5
35#define VSIE_AWSAccessDenied 6
36#define VSIE_AWSBucketNotFound 7
37#define VSIE_AWSObjectNotFound 8
38#define VSIE_AWSInvalidCredentials 9
39#define VSIE_AWSSignatureDoesNotMatch 10
44void CPL_DLL CPL_STDCALL VSIErrorReset(
void);
45VSIErrorNum CPL_DLL CPL_STDCALL VSIGetLastErrorNo(
void);
46const
char CPL_DLL *CPL_STDCALL VSIGetLastErrorMsg(
void);
48int CPL_DLL CPL_STDCALL VSIToCPLError(
CPLErr eErrClass,
CPL error handling services.
CPLErr
Error category.
Definition: cpl_error.h:37
int CPLErrorNum
Error number.
Definition: cpl_error.h:79
Core portability definitions for CPL.
#define CPL_C_END
Macro to end a block of C symbols.
Definition: cpl_port.h:283
#define CPL_C_START
Macro to start a block of C symbols.
Definition: cpl_port.h:279
#define CPL_FORMAT_STRING(arg)
Macro into which to wrap the format argument of a printf-like function.
Definition: cpl_port.h:954
#define CPL_PRINT_FUNC_FORMAT(format_idx, arg_idx)
Tag a function to have printf() formatting.
Definition: cpl_port.h:938