diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-08-14 05:18:31 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-08-14 05:18:31 +0200 |
commit | 8bfee41e214b015fe6eb8ef0c185859f5b6401a7 (patch) | |
tree | 58f70a47fbf6134f5b95a389a3a1f83033fb4464 /bin/efa | |
parent | fec4f0d857fb35a7c6cd35a51694671651b23df7 (diff) |
Add remaining error classes, sort of
Diffstat (limited to 'bin/efa')
-rwxr-xr-x | bin/efa | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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(); |