summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.