Authen::U2F::Tester::Error3pm
Authen::u2f::tester error response
Usage
$r = $tester->register(...);# or$r = $tester->sign(...);unless ($r->is_success) {print $r->error_code;print $r->error_message;}
Version
version 0.03
Overview
This object is returned from Authen::U2F::Tester sign or register requests if the request resulted in an error.
Methods
new(int)
Single arg constructor. Argument is a U2F error code. See Authen::U2F::Tester::Const for constants that should be used for this.
error_code(): int
Get the error code
error_message(): string
Get the error message
is_success(): bool
Returns false as this object is only returned for errors.
Source
The development version is on github at <http://https://github.com/mschout/perl-authen-u2f-tester> and may be cloned from <git://https://github.com/mschout/perl-authen-u2f-tester.git>
Copyright and license
This software is copyright (c) 2017 by Michael Schout.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Releases
Unchanged in 4 releases since Debian 10 (Buster).