Exception.pm 977 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # ------------------------------------------------------------------------------
  2. # (C) Crown copyright Met Office. All rights reserved.
  3. # For further details please refer to the file COPYRIGHT.txt
  4. # which you should have received as part of this distribution.
  5. # ------------------------------------------------------------------------------
  6. use strict;
  7. use warnings;
  8. package Fcm::CLI::Exception;
  9. use base qw{Fcm::Exception};
  10. 1;
  11. __END__
  12. =head1 NAME
  13. Fcm::CLI::Exception
  14. =head1 SYNOPSIS
  15. use Carp qw{croak};
  16. use Fcm::CLI::Exception;
  17. croak(Fcm::CLI::Exception->new({message => 'something is wrong'}));
  18. =head1 DESCRIPTION
  19. This class extends L<Fcm::Exception|Fcm::Exception>. This exception is thrown
  20. on errors associated with the command line interface.
  21. =head1 METHODS
  22. See L<Fcm::Exception|Fcm::Exception> for a list of methods.
  23. =head1 SEE ALSO
  24. L<Fcm::Exception|Fcm::Exception>
  25. =head1 COPYRIGHT
  26. E<169> Crown copyright Met Office. All rights reserved.
  27. =cut