HTTPCode
: int
in package
HTTP response status codes enum.
Defines common HTTP status codes used throughout the PHPEz framework for standardized API responses and error handling.
Tags
Table of Contents
Cases
- BAD_REQUEST = 400
- CONFLICT = 409
- CREATED = 201
- FORBIDDEN = 403
- INTERNAL_SERVER_ERROR = 500
- METHOD_NOT_ALLOWED = 405
- NO_CONTENT = 204
- NOT_FOUND = 404
- OK = 200
- UNAUTHORIZED = 401