intraxia / jaxion

A WordPress plugin framework for modern WordPress development.
http://intraxia.github.io/jaxion/
MIT License
15 stars 3 forks source link

Feature: Result Class #2

Open mAAdhaTTah opened 9 years ago

mAAdhaTTah commented 9 years ago

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.