This plugin shows and clears errors seen during plugin execution
usage: #bp.errors.clear [-h]
clear errors
optional arguments:
-h, --help show help (default: False)
usage: #bp.errors.show [-h] [number]
show errors
positional arguments:
number list the last <number> errors (default: -1)
optional arguments:
-h, --help show help (default: False)
usage: #bp.errors.api [-h] [api]
list functions in the api
positional arguments:
api api to get details of
optional arguments:
-h, --help show help (default: False)
usage: #bp.errors.help [-a] [-c] [-h]
show help info for this plugin
optional arguments:
-a, --api show functions this plugin has in the api (default: False)
-c, --commands show commands in this plugin (default: False)
-h, --help show help (default: False)
usage: #bp.errors.inspect [-m METHOD] [-o OBJECT] [-s] [-h]
inspect a plugin
optional arguments:
-m METHOD, --method METHOD
get code for a method
-o OBJECT, --object OBJECT
show an object of the plugin, can be method or
variable
-s, --simple show a simple output (default: False)
-h, --help show help (default: False)
usage: #bp.errors.reset [-h]
reset the plugin
optional arguments:
-h, --help show help (default: False)
usage: #bp.errors.save [-h]
save the plugin state
optional arguments:
-h, --help show help (default: False)
usage: #bp.errors.set [-h] [name] [value]
change a setting in the plugin
if there are no arguments or 'list' is the first argument then
it will list the settings for the plugin
positional arguments:
name the setting name (default: list)
value the new value of the setting
optional arguments:
-h, --help show help (default: False)
usage: #bp.errors.stats [-h]
show plugin stats
optional arguments:
-h, --help show help (default: False)
errors.clear()
clear errors
this function has no arguments
this function returns no values
original defined in plugins/core/errors.py
errors.add(timestamp, error)
add an error
this function adds an error to the list
original defined in plugins/core/errors.py
errors.gete()
get errors
this function has no arguments
this function returns the list of errors
original defined in plugins/core/errors.py