Like, WP_Error, but can be used for both failure and success, along with response messages. Should also be combined with integrated logging, and should be returnable from API (either directly, or should be transformable into a WP_HTTP_Response object). Should be able to contain other result instances, for logging multiple messages. API should (probably) only return the last one.
Like, WP_Error, but can be used for both failure and success, along with response messages. Should also be combined with integrated logging, and should be returnable from API (either directly, or should be transformable into a
WP_HTTP_Response
object). Should be able to contain other result instances, for logging multiple messages. API should (probably) only return the last one.