I don't recall exactly on which occasion, but I had errors as returned as arrays instead of exception. This is here to make it consistent. It's either `int` (as in docs) or exception, nothing else.