Exceptions¶
All exceptions inherit from PyhoodError and can be caught at any level of the hierarchy.
pyhood.exceptions
¶
hood exceptions — clear error types instead of silent failures.
PyhoodError
¶
Bases: Exception
Base exception for all hood errors.
AuthError
¶
Bases: PyhoodError
Authentication failed.
DeviceApprovalRequiredError
¶
Bases: AuthError
Robinhood is requesting device approval via the mobile app.
RateLimitError
¶
APIError
¶
OrderError
¶
Bases: PyhoodError
Order placement or modification failed.
SymbolNotFoundError
¶
Bases: PyhoodError
Ticker symbol not recognized.