syntax = "proto3";
import "types.proto";
package Error;

message IError {
    option (interface)          = 'bmc.mdb.Error';

    string err_name             = 1[(const) = true];
    string err_desc             = 2[(const) = true];
    int32 ipmi_response         = 3[(default) = "0xFF"];
    int32 http_response         = 4[(default) = "500"];
    string redfish_response     = 5[(default) = "GeneralError"];
}

message Error {
    option (path)               = "/bmc/kepler/Error/:appname/:errtype";

    IError Error                = 1;
}