public DBusException(DBusErrors error, string errorMessage) : base($"{error.GetDescription(): errorMessage}") { WellknownError = error; ErrorName = error.GetDescription(); ErrorMessage = errorMessage; }
void SendErrorReply(Message incoming, DBusErrors error, string errorMessage, IMessageStream peer) { SendMessage(MessageHelper.ConstructErrorReply(incoming, error, errorMessage), peer); }
public static Message ConstructErrorReply(Message incoming, DBusErrors error, string errorMessage) { return(ConstructErrorReply(incoming, error.GetDescription(), errorMessage)); }