| 1 | package Geoffrey::Exception::Template; | ||
| 2 | |||
| 3 | 2 | ▶ | use utf8; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use 5.016; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 2 | $Geoffrey::Exception::Template::VERSION = '0.000206'; | |
| 9 | |||
| 10 | 2 | ▶ | use Exception::Class 1.23 ( |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 2 | 'Geoffrey::Exception::Template' => { description => 'Unidentified exception', }, | |
| 12 | 'Geoffrey::Exception::Template::NotFound' => | ||
| 13 | { description => 'Given template is not configured!', }, | ||
| 14 | 2 | ); | |
| 15 | |||
| 16 | 2 | ▶ | sub throw_template_not_found { |
|
Subroutine
throw_template_not_found: called CC=1 SCAR=0.0
Pod
documented
| |||
| 17 | 2 | return Geoffrey::Exception::Template::NotFound->throw("Template $_[0] is not configured!\n"); | |
| 18 | } | ||
| 19 | |||
| 20 | 2 | 1; | |
| 21 | |||
| 22 | __END__ | ||