32#ifndef CPL_VSI_ERROR_H_INCLUDED
33#define CPL_VSI_ERROR_H_INCLUDED
44typedef int VSIErrorNum;
47#define VSIE_FileError 1
48#define VSIE_HttpError 2
50#define VSIE_AWSError 5
51#define VSIE_AWSAccessDenied 6
52#define VSIE_AWSBucketNotFound 7
53#define VSIE_AWSObjectNotFound 8
54#define VSIE_AWSInvalidCredentials 9
55#define VSIE_AWSSignatureDoesNotMatch 10
57void CPL_DLL VSIError( VSIErrorNum err_no,
61void CPL_DLL CPL_STDCALL VSIErrorReset(
void );
62VSIErrorNum CPL_DLL CPL_STDCALL VSIGetLastErrorNo(
void );
63const
char CPL_DLL * CPL_STDCALL VSIGetLastErrorMsg(
void );
65int CPL_DLL CPL_STDCALL VSIToCPLError(
CPLErr eErrClass,
CPL error handling services.
CPLErr
Error category.
Definition: cpl_error.h:53
int CPLErrorNum
Error number.
Definition: cpl_error.h:94
Core portability definitions for CPL.
#define CPL_C_END
Macro to end a block of C symbols.
Definition: cpl_port.h:339
#define CPL_C_START
Macro to start a block of C symbols.
Definition: cpl_port.h:337
#define CPL_FORMAT_STRING(arg)
Macro into which to wrap the format argument of a printf-like function.
Definition: cpl_port.h:929
#define CPL_PRINT_FUNC_FORMAT(format_idx, arg_idx)
Tag a function to have printf() formatting.
Definition: cpl_port.h:914