aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/factoids/utils.rs
Commit message (Collapse)AuthorAgeFilesLines
* Factoids: Improve display of runtime errors in luaJokler2018-05-121-7/+16
|
* Add usefulness rating function to url titlesJokler2018-04-071-3/+4
|
* Use Error & ErrorKind pair instead of simple enumsJokler2018-03-021-1/+5
| | | | | | | | | | | | Each plugin should define its own errors with a respective variant in the main ErrorKind of frippy. A new procedural macro was added to reduce the boilerplate required for new error system. It can be used by deriving "Error" and adding a name for the Error via the "error" attribute. So far non of the plugins except for Url and Factoids use their own errors yet.
* Use lossy UTF8 conversion and add a log_error functionJokler2018-03-011-1/+1
|
* Create errors with failureJokler2018-02-281-2/+2
| | | | | The plugins are mostly not using the new errors yet and the error handling in the Factoids plugin is just temporary.
* Add possibly unsafe timeout hook to factoidsJokler2018-02-231-0/+8
|
* Add download function & fromurl commandJokler2018-02-131-0/+13