mirror of
https://github.com/langgenius/dify.git
synced 2026-07-15 01:17:04 +08:00
Replaces the _quota_error/.response hack in workspaces.py with two throwable OpenApiError subclasses (MemberLimitExceeded, MemberLicenseExceeded) so all 403 quota responses flow through OpenApiErrorFormatter rather than bypassing it via the early-return in external_api.py. Wire codes rename to member_limit_exceeded and member_license_exceeded.