Skip to content

v1.1.1

Latest
Compare
Choose a tag to compare
@surazdott surazdott released this 25 Sep 12:03
fa0061a

feat: Enhance API response handling and error management #4

  • Updated README.md to reflect new API response methods and usage examples.
  • Modified HasApiResponse.php to include new response methods for server and client errors.
  • Updated ApiValidationException.php to improve validation error handling with enhanced messages.
  • Adjusted Api.php facade to incorporate new response methods for clarity and consistency.
  • Refactored ApiResponse.php to introduce generic and specialized response handling (e.g., serverError, success).
  • Enhanced ApiResponseTest.php with additional test cases to cover new response methods.
  • Improved ExceptionTest.php to ensure better exception handling and validation errors.