{"id":6925,"date":"2022-12-20T19:34:20","date_gmt":"2022-12-20T22:34:20","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/netdbusbindingmessageerror-man3\/"},"modified":"2022-12-20T19:34:20","modified_gmt":"2022-12-20T22:34:20","slug":"netdbusbindingmessageerror-man3","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/netdbusbindingmessageerror-man3\/","title":{"rendered":"Net::DBus::Binding::Message::Error (man3)"},"content":{"rendered":"<h1 align=\"center\">Net::DBus::Binding::Message::Error<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#METHODS\">METHODS<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a><br \/> <a href=\"#COPYRIGHT\">COPYRIGHT<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Net::DBus::Binding::Message::Error \u2212 a message encoding a method call error<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">use Net::DBus::Binding::Message::Error; <br \/> my $error = Net::DBus::Binding::Message::Error\u2212>new( <br \/> replyto => $method_call, <br \/> name => &#8220;org.example.myobject.FooException&#8221;, <br \/> description => &#8220;Unable to do Foo when updating bar&#8221;); <br \/> $connection\u2212>send($error);<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This module is part of the low-level DBus binding APIs, and should not be used by application code. No guarantees are made about APIs under the &#8220;Net::DBus::Binding::&#8221; namespace being stable across releases.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This module provides a convenience constructor for creating a message representing an error condition.<\/p>\n<h2>METHODS <a name=\"METHODS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">my $error = Net::DBus::Binding::Message::Error\u2212>new( replyto => <br \/> $method_call, name => $name, description => $description);<\/p>\n<p style=\"margin-left:17%;\">Creates a new message, representing an error which occurred during the handling of the method call object passed in as the &#8220;replyto&#8221; parameter. The &#8220;name&#8221; parameter is the formal name of the error condition, while the &#8220;description&#8221; is a short piece of text giving more specific information on the error.<\/p>\n<p style=\"margin-left:11%;\">my $name = $error\u2212>get_error_name<\/p>\n<p style=\"margin-left:17%;\">Returns the formal name of the error, as previously passed in via the &#8220;name&#8221; parameter in the constructor.<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Daniel P. Berrange.<\/p>\n<h2>COPYRIGHT <a name=\"COPYRIGHT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Copyright (C) 2004\u22122009 Daniel P. Berrange<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Net::DBus::Binding::Message<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  Net::DBus::Binding::Message::Error \u2212 a message encoding a method call error <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3007,3282],"class_list":["post-6925","post","type-post","status-publish","format-standard","hentry","category-sin-categoria","tag-man3","tag-netdbusbindingmessageerror"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6925","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=6925"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6925\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=6925"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=6925"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=6925"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}