Class SdlError
The pygame.error the gfxdraw functions raise when an SDL_gfx primitive returns -1 (a negative radius).
pygame's message is SDL_GetError(), whatever SDL error happened to be set last, so it cannot be reproduced;
this message names the primitive instead.
public sealed class SdlError : Exception, ISerializable
- Inheritance
-
SdlError
- Implements
- Inherited Members
- Extension Methods
Constructors
SdlError(string)
An SDL failure with a message.
public SdlError(string message)
Parameters
messagestringWhat failed.