summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-08-03 19:10:07 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-08-03 19:10:07 +0200
commitab66856968ecf9a721fadb7a0ae67c39663791dc (patch)
treef2631e27c2a3e91b65a37fb4b513754919617227
parent047cb7b3e9f694c3e6654102bff3ae2bfd457be8 (diff)
Fix error/errstr documentation mixup
-rw-r--r--Changelog2
-rw-r--r--lib/Travel/Status/DE/DeutscheBahn.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/Changelog b/Changelog
index e7d11eb..07dd875 100644
--- a/Changelog
+++ b/Changelog
@@ -3,7 +3,7 @@ git HEAD
[Travel::Status::DE::DeutscheBahn]
* Fix ->results returning duplicate connections when accessed more than
one time
- * new: Only die when encountering wrong options, set ->error otherwise
+ * new: Only die when encountering wrong options, set ->errstr otherwise
* Adds new ->errstr accessor to check for request errors
Travel::Status::DE::DeutscheBahn 0.04 - Wed Jul 13 2011
diff --git a/lib/Travel/Status/DE/DeutscheBahn.pm b/lib/Travel/Status/DE/DeutscheBahn.pm
index 136cf51..797d40f 100644
--- a/lib/Travel/Status/DE/DeutscheBahn.pm
+++ b/lib/Travel/Status/DE/DeutscheBahn.pm
@@ -278,7 +278,7 @@ By default, the following are shown: ice, ic_ec, d, nv, s.
=back
-=item $status->error
+=item $status->errstr
In case of an error in the HTTP request, returns a string describing it. If
no error occured, returns undef.