More discriminating error codes