Errors¶
See Errors, waiting and limits for when each is raised.
- exception lunaspace.LunaError¶
An error of the API, or of the client’s use of it.
- exception lunaspace.AuthenticationError¶
401: the API key is missing, unknown or revoked.
- exception lunaspace.ConfigurationError¶
The client cannot start: no API key, for one.
- exception lunaspace.FeatureNotIncluded¶
403
feature_not_included: the organisation’s tier does not include the feature (.feature).
- exception lunaspace.InvalidRequest¶
400 or 422: the API refused what was asked, and says why.
- exception lunaspace.JobFailed¶
A job waited for (a run, passes, a TLE, a plan) failed.
.jobis the job;.codethe API’s error code, such asinvalid_tracking_data,estimation_failedorfit_failed.
- exception lunaspace.NotFound¶
404: no such resource, or one of another organisation’s.
- exception lunaspace.PermissionDenied¶
- exception lunaspace.RunFailed¶
A run waited for failed.
.runis the run.
- exception lunaspace.ServerError¶
5xx: the service’s fault; worth trying again later.