]> git.e2factory.org Git - e2factory.git/commitdiff
Sync documentation, new_error() is no more
authorTobias Ulmer <tu@emlix.com>
Wed, 8 Aug 2012 12:37:28 +0000 (14:37 +0200)
committerTobias Ulmer <tu@emlix.com>
Mon, 13 Aug 2012 10:22:07 +0000 (12:22 +0200)
Coding

diff --git a/Coding b/Coding
index 934671d4bd9f6e4840498759245fa0fff66fe91c..2499ada83678a99a822a5d8d1cecd9864f7c5294 100644 (file)
--- a/Coding
+++ b/Coding
@@ -16,7 +16,7 @@ Error handling
    to customers. (As they should not see the internals.)
  * Example:
    -- the error object from the current layer is usually named 'e'.
-   e = new_error("error copying file for")
+   e = err.new("error copying file for")
    -- a boolean return value is usually called 'rc'.
    -- an error object return value is usually called 're'.
    rc, re = f(...)