1Authen::U2F::Tester::ErUrsoerr(3C)ontributed Perl DocumeAnuttahteino:n:U2F::Tester::Error(3)
2
3
4
6 Authen::U2F::Tester::Error - Authen::U2F::Tester Error Response
7
9 version 0.03
10
12 $r = $tester->register(...);
13
14 # or
15
16 $r = $tester->sign(...);
17
18 unless ($r->is_success) {
19 print $r->error_code;
20 print $r->error_message;
21 }
22
24 This object is returned from Authen::U2F::Tester sign or register
25 requests if the request resulted in an error.
26
28 new(int)
29 Single arg constructor. Argument is a U2F error code. See
30 Authen::U2F::Tester::Const for constants that should be used for this.
31
32 error_code(): int
33 Get the error code
34
35 error_message(): string
36 Get the error message
37
38 is_success(): bool
39 Returns false as this object is only returned for errors.
40
42 • Authen::U2F::Tester
43
45 The development version is on github at
46 <http://https://github.com/mschout/perl-authen-u2f-tester> and may be
47 cloned from
48 <git://https://github.com/mschout/perl-authen-u2f-tester.git>
49
51 Please report any bugs or feature requests on the bugtracker website
52 <https://github.com/mschout/perl-authen-u2f-tester/issues>
53
54 When submitting a bug or request, please include a test-file or a patch
55 to an existing test-file that illustrates the bug or desired feature.
56
58 Michael Schout <mschout@cpan.org>
59
61 This software is copyright (c) 2017 by Michael Schout.
62
63 This is free software; you can redistribute it and/or modify it under
64 the same terms as the Perl 5 programming language system itself.
65
66
67
68perl v5.38.0 2023-10-25 Authen::U2F::Tester::Error(3)