From ab66856968ecf9a721fadb7a0ae67c39663791dc Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 3 Aug 2011 19:10:07 +0200 Subject: Fix error/errstr documentation mixup --- Changelog | 2 +- lib/Travel/Status/DE/DeutscheBahn.pm | 2 +- 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. -- cgit v1.2.3