summaryrefslogtreecommitdiffstats
path: root/src/error.rs
Commit message (Collapse)AuthorAgeFilesLines
* Give names to any threads which are spawnedJokler2018-03-211-0/+4
|
* Use Error & ErrorKind pair instead of simple enumsJokler2018-03-021-92/+22
| | | | | | | | | | | | 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-11/+0
|
* Simplify the download functionJokler2018-03-011-4/+4
|
* Add the mysql error to the mysql featureJokler2018-02-281-0/+3
|
* Add missing cause to r2d2 errorJokler2018-02-281-1/+1
|
* Add missing error for r2d2Jokler2018-02-281-0/+11
|
* Create errors with failureJokler2018-02-281-0/+98
The plugins are mostly not using the new errors yet and the error handling in the Factoids plugin is just temporary.