| 1 | 6 | ▶ | use 5.008; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 6 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 6 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | package Data::Storage::Exception::Connect; | ||
| 6 | 6 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 6 | $Data::Storage::Exception::Connect::VERSION = '1.102720'; | |
| 8 | } | ||
| 9 | # ABSTRACT: Exception raised on a connection failure | ||
| 10 | 6 | ▶ | use parent qw(Data::Storage::Exception); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 6 | __PACKAGE__->mk_scalar_accessors(qw(dbname dbuser reason)); | |
| 12 | 6 | ▶ | use constant default_message => |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | 6 | 'Cannot connect to storage [%s] as user [%s]: %s'; | |
| 14 | 6 | ▶ | use constant PROPERTIES => (qw/dbname dbuser reason/); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 6 | 1; | |
| 16 | |||
| 17 | |||
| 18 | __END__ | ||