Error classes¶
- exception craft_platforms.CraftPlatformsError(message, details=None, resolution=None, docs_url=None, doc_slug=None, logpath_report=True, reportable=True, retcode=1)[source]¶
Signal a program error with a lot of information to report.
- Parameters:
- resolution = None¶
-
An extra line indicating to the user how the error may be fixed or avoided (to be shown together with
message
).
- docs_url = None¶
-
An URL to point the user to documentation (to be shown together with
message
).
- doc_slug = None¶
-
The slug to the user documentation. Needs a base url to form a full address. Note that
docs_url
has preference if it is set.
- logpath_report = True¶
Type:
bool
Whether the location of the log filepath should be presented in the screen as the final message.