Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Catching error messages  (Read 1288 times)

0 Members and 1 Guest are viewing this topic.

Disch

  • Full Member
  • ***
  • Posts: 220
    • View Profile
Catching error messages
« on: February 11, 2013, 06:02:11 am »
Most SFML routines return a boolean to indicate success/failure, but in the event of a failure, how can we get more information about it?  Does SFML log the error message anywhere?

Is there any way to programmatically get a string explaining what went wrong with the operation?


EDIT:  I should try reading the docs more closely.  Looks like it goes to sf::err().

OK.  Thanks.
« Last Edit: February 11, 2013, 06:05:04 am by Disch »