| 1 | package Bio::Tradis::Analysis::Exceptions; | ||
| 2 | # ABSTRACT: Custom exceptions | ||
| 3 | 1 | $Bio::Tradis::Analysis::Exceptions::VERSION = '1.4.1'; | |
| 4 | |||
| 5 | use Exception::Class ( | ||
| 6 | 1 | Bio::Tradis::Analysis::Exceptions::FailedToOpenAlignmentSlice => { description => 'Couldnt get reads from alignment slice. Error with Samtools or BAM' }, | |
| 7 | Bio::Tradis::Analysis::Exceptions::FailedToOpenExpressionResultsSpreadsheetForWriting => { description => 'Couldnt write out the results for expression' }, | ||
| 8 | Bio::Tradis::Analysis::Exceptions::InvalidInputFiles => { description => 'Invalid inputs, sequence names or lengths are incorrect' }, | ||
| 9 | Bio::Tradis::Analysis::Exceptions::FailedToCreateNewBAM => { description => 'Couldnt create a new bam file' }, | ||
| 10 | Bio::Tradis::Analysis::Exceptions::FailedToCreateMpileup => { description => 'Couldnt create an mpileup' }, | ||
| 11 | Bio::Tradis::Analysis::Exceptions::FailedToOpenFeaturesTabFileForWriting => { description => 'Couldnt write tab file' }, | ||
| 12 | Bio::Tradis::Analysis::Exceptions::FileNotFound => { description => 'Couldnt find file' }, | ||
| 13 | 1 | ▶ | ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | |||
| 15 | 1 | 1; | |
| 16 | |||
| 17 | __END__ | ||
| 18 | |||
| 19 | =pod | ||
| 20 | |||
| 21 | =encoding UTF-8 | ||
| 22 | |||
| 23 | =head1 NAME | ||
| 24 | |||
| 25 | Bio::Tradis::Analysis::Exceptions - Custom exceptions | ||
| 26 | |||
| 27 | =head1 VERSION | ||
| 28 | |||
| 29 | version 1.4.1 | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | Basic exception catcher | ||
| 34 | |||
| 35 | =head1 AUTHOR | ||
| 36 | |||
| 37 | Carla Cummins <path-help@sanger.ac.uk> | ||
| 38 | |||
| 39 | =head1 COPYRIGHT AND LICENSE | ||
| 40 | |||
| 41 | This software is Copyright (c) 2013 by Wellcome Trust Sanger Institute. | ||
| 42 | |||
| 43 | This is free software, licensed under: | ||
| 44 | |||
| 45 | The GNU General Public License, Version 3, June 2007 | ||
| 46 | |||
| 47 | =cut | ||