use SRU::Utils qw( error );
return error( "error!" );
DESCRIPTIONThis is a set of utility functions for the SRU objects.
error( $message )Sets the $SRU::Error message.
COPYRIGHT AND LICENSEThis software is copyright (c) 2013 by Ed Summers.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.