| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 53 lines (2 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
ErrorMessageExtractor:: (1 method):
extractFromResponseData()
Class: ErrorMessageExtractor - X-Ref
Utility for extracting error messages from API response data.| extractFromResponseData($data) X-Ref |
| Extracts error message from API response data. Handles common error response formats: - { "error": { "message": "Error text" } } - { "error": "Error text" } - { "message": "Error text" } return: string|null The extracted error message, or null if none found. param: mixed $data The response data to extract error message from. |
| Generated : Sat Jun 13 09:38:55 2026 | Cross-referenced by PHPXref |