Commit 642ee7d0 authored by Felix Kokocinski's avatar Felix Kokocinski
Browse files

give coords on mapping failure

parent b5456a24
......@@ -155,7 +155,7 @@ sub check_and_register {
}
if ( $start > $end ) {
throw("start argument must be less than end argument");
throw("start argument [$start] must be less than end argument [$end]");
}
if ( $rstart > $rend ) {
......@@ -165,11 +165,11 @@ sub check_and_register {
}
if ( $rstart > $start ) {
throw("rstart must be less than or equal to start");
throw("rstart [$rstart] must be less than or equal to start [$start]");
}
if ( $rend < $end ) {
throw("rend must be greater than or equal to end");
throw("rend [$rend] must be greater than or equal to end [$end]");
}
my $reg = $self->{'registry'};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment