NAME
Net::Async::Authentik::Error - Exception base class for Net::Async::Authentik
VERSION
version 0.001
SYNOPSIS
$ak->api->get_user_f($pk)->else( sub {
my ( $error ) = @_;
return Future->done(undef) if $error->isa('Net::Async::Authentik::Error::API') && $error->is_not_found;
return Future->fail($error);
} );
DESCRIPTION
A failed future of Net::Async::Authentik fails with one of Net::Async::Authentik::Error::Validation, Net::Async::Authentik::Error::Network and Net::Async::Authentik::Error::API. Nothing is thrown: a wrong argument fails the future just as a refused request does, so one else catches both.
Each of them is also the matching WWW::Authentik::Error class, so code written against the synchronous client catches them unchanged, and each stringifies to its message.
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-net-async-authentik/issues.
IRC
Join #kubernetes on irc.perl.org or message Getty directly.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHOR
Torsten Raudssus <getty@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.