###### (This function is part of SDL_image, a separate library from SDL.)
# IMG_GetError

Get last SDL_image error

## Header File

Defined in [<SDL_image.h>](https://github.com/libsdl-org/SDL_image/blob/SDL2/include/SDL_image.h)

## Syntax

```c
#define IMG_GetError    SDL_GetError
```

## See Also

- [IMG_SetError](IMG_SetError)

----
[CategoryAPI](CategoryAPI), [CategoryAPIMacro](CategoryAPIMacro)