summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-02-26 16:23:16 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-02-26 16:23:16 +0000
commiteaf7c01776d820bad2b306ffefd93362b3194522 (patch)
tree0e272dd15e24efb0e67fcdb9f6aa1d60f0968110
parent6ce020c2cdcfba026e44d9e1735a603775e303f7 (diff)
Add definition for error hierachy
-rw-r--r--hcid/dbus-api.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/hcid/dbus-api.txt b/hcid/dbus-api.txt
index 516c372e..0a6781b1 100644
--- a/hcid/dbus-api.txt
+++ b/hcid/dbus-api.txt
@@ -4,6 +4,27 @@ D-Bus API description for BlueZ
Copyright (C) 2004-2006 Marcel Holtmann <marcel@holtmann.org>
+Error hierachy
+==============
+
+Interface org.bluez.Error
+
+Errors UnknownError
+
+ An unknown error occured. The error messages is
+ taken from the strerror(errno) function.
+
+ OutOfMemory
+
+ Error returned when a memory allocation via malloc()
+ fails. This error is similar to ENOMEM.
+
+ NoSuchDevice
+
+ Error returned when the requested device doesn't
+ exists. This error is similar to ENODEV.
+
+
Manager hierarchy
=================