diff options
author | Peter Andersson <[email protected]> | 2011-09-01 16:32:36 +0200 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2011-09-23 12:24:54 +0200 |
commit | 6668a91b365b8390d8eb369f7d6c6294711a1fef (patch) | |
tree | aeeb629d8dd9c8a3e0b01ae17f32580e782e64d6 /lib/common_test/doc/src | |
parent | 8d9b760e7fafec40787be6de5994240f1540d12a (diff) | |
download | otp-6668a91b365b8390d8eb369f7d6c6294711a1fef.tar.gz otp-6668a91b365b8390d8eb369f7d6c6294711a1fef.tar.bz2 otp-6668a91b365b8390d8eb369f7d6c6294711a1fef.zip |
Various corrections and updates to improve error handling and reporting
OTP-8933
Diffstat (limited to 'lib/common_test/doc/src')
-rw-r--r-- | lib/common_test/doc/src/config_file_chapter.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/common_test/doc/src/config_file_chapter.xml b/lib/common_test/doc/src/config_file_chapter.xml index 59151a73ec..6fc6638bf7 100644 --- a/lib/common_test/doc/src/config_file_chapter.xml +++ b/lib/common_test/doc/src/config_file_chapter.xml @@ -285,7 +285,7 @@ <c>{ok, Config}</c> - if the configuration variables are read successfully, </item> <item> - <c>{error, Error, ErrorDetails}</c> - if the callback module fails to + <c>{error, {Error, ErrorDetails}}</c> - if the callback module fails to proceed with the given configuration parameters. </item> </list> @@ -422,14 +422,14 @@ stop()-> call(Client, Request)-> case whereis(?REGISTERED_NAME) of undefined-> - {error, not_started, Request}; + {error, {not_started, Request}}; Pid-> Pid ! {Client, Request}, receive Reply-> {ok, Reply} after 4000-> - {error, timeout, Request} + {error, {timeout, Request}} end end. |