| 1 | 1 | ▶ | use v5.10.0; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | package JMAP::Tester::WebSocket::Result::Failure 0.006; | ||
| 5 | # ABSTRACT: what you get when your JMAP request utterly fails | ||
| 6 | |||
| 7 | 1 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 1 | with 'JMAP::Tester::WebSocket::Role::WebSocketResult'; | |
| 9 | |||
| 10 | 1 | ▶ | use namespace::clean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | #pod =head1 OVERVIEW | ||
| 13 | #pod | ||
| 14 | #pod This is the sort of worthless object you get back when your JMAP request fails. | ||
| 15 | #pod This class should be replaced, in most cases, by more useful classes in the | ||
| 16 | #pod future. | ||
| 17 | #pod | ||
| 18 | #pod It's got an C<is_success> method. It returns false. It also has: | ||
| 19 | #pod | ||
| 20 | #pod =method ident | ||
| 21 | #pod | ||
| 22 | #pod An error identifier. May or may not be defined. | ||
| 23 | #pod | ||
| 24 | #pod =cut | ||
| 25 | |||
| 26 | 0 | ▶ | sub is_success { 0 } |
|
Subroutine
is_success: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 27 | |||
| 28 | 1 | has ident => (is => 'ro', predicate => 'has_ident'); | |
| 29 | |||
| 30 | 1 | 1; | |
| 31 | |||
| 32 | __END__ | ||