Add HasStandardApiResponses trait with consistent error format:
{"success": false, "error": "Human-readable message", "code": "MACHINE_READABLE_CODE"}
Applied to EntitlementApiController, EntitlementWebhookController,
and WorkspaceController. Updated tests to assert the new format.
Fixes #20
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| Api | ||
| EntitlementApiController.php | ||
| ReferralController.php | ||
| WorkspaceController.php | ||
| WorkspaceInvitationController.php | ||