Add helper functions to simplify error responses

Most IPMI commands have some error response. This makes it more
intuitive what is happening, changing

    return ipmi::response(cc::CommandNotAvailable);
to
    return ipmi::responseCommandNotAvailable();

which is parallel to the success respones of:
    return ipmi::responseSuccess();

Change-Id: Ibbd401c4007a02e91ab4983814b920d6d7f02404
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
1 file changed