summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-08-14 05:18:31 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-08-14 05:18:31 +0200
commit8bfee41e214b015fe6eb8ef0c185859f5b6401a7 (patch)
tree58f70a47fbf6134f5b95a389a3a1f83033fb4464 /bin
parentfec4f0d857fb35a7c6cd35a51694671651b23df7 (diff)
Add remaining error classes, sort of
Diffstat (limited to 'bin')
-rwxr-xr-xbin/efa8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/efa b/bin/efa
index b7b61d4..7cd3bbb 100755
--- a/bin/efa
+++ b/bin/efa
@@ -114,11 +114,11 @@ else {
);
}
-$efa->parse();
+my $err = $efa->parse();
-
-$efa->check_ambiguous();
-$efa->check_no_connections();
+if ($err and $err->isa('WWW::Efa::Error')) {
+ die $err->as_string();
+}
my @connections = $efa->connections();