nasa_api_errors
This is the file that stores all the classes that represent exceptions.
NasaApiDataNotFoundError
Bases: Exception
Represents an exception caused by data not being found in a NASA API request.
Source code in src\nasa_api\nasa_api_errors.py
__init__(message='The NASA API wrapper has encountered an error')
Creates an instance of the NasaApiDataNotFoundError class.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
message
|
str
|
The message that the exception raises. |
'The NASA API wrapper has encountered an error'
|