Unified API error codes.