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:
str|None= None¶ An extra line indicating to the user how the error may be fixed or avoided (to be shown together with
message).
-
docs_url:
str|None= None¶ An URL to point the user to documentation (to be shown together with
message).
-
doc_slug:
str|None= None¶ The slug to the user documentation. Needs a base url to form a full address. Note that
docs_urlhas preference if it is set.
-
logpath_report:
bool= True¶ Whether the location of the log filepath should be presented in the screen as the final message.