Useful to return instead of -1 when the cause of the error is unknown, typically from an external library.