NAME
Finance::Robinhood::Error - What You Find When Things Go Wrong
SYNOPSIS
use Finance::Robinhood;
my $rh = Finance::Robinhood->new->login( 'timbob35', 'hunter3' ); # Wrong password
$rh || die $rh; # false value is retured; stringify it as a fatal error
DESCRIPTION
When this distribution has trouble with anything, this is returned.
Error objects evaluate to untrue values.
Error objects stringify to the contents of detail( )
or 'Unknown error.'
METHODS
detail( )
warn $error->detail;
Returns a string. If this is a failed API call, the message returned by the service is here.
LEGAL
This is a simple wrapper around the API used in the official apps. The author provides no investment, legal, or tax advice and is not responsible for any damages incurred while using this software. This software is not affiliated with Robinhood Financial LLC in any way.
For Robinhood's terms and disclosures, please see their website at https://robinhood.com/legal/
LICENSE
Copyright (C) Sanko Robinson.
This library is free software; you can redistribute it and/or modify it under the terms found in the Artistic License 2. Other copyrights, terms, and conditions may apply to data transmitted through this module. Please refer to the LEGAL section.
AUTHOR
Sanko Robinson <sanko@cpan.org>