diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2014-07-15 22:54:39 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2014-07-16 00:53:59 +0200 |
commit | 2921eed702d994352c5afccc31e32bd3f1682b6b (patch) | |
tree | 044ef2300088f723d627ab529d7c052a84f74b48 /plugins/coin | |
parent | a2a979ea2e7ded82cbe4d4cab5da6e613d74a9d0 (diff) | |
download | xK-2921eed702d994352c5afccc31e32bd3f1682b6b.tar.gz xK-2921eed702d994352c5afccc31e32bd3f1682b6b.tar.xz xK-2921eed702d994352c5afccc31e32bd3f1682b6b.zip |
Rip out error codes
As it turns out, they're rather annoying to maintain, and we don't even need
them. They also clutter the code unnecessarily in their current form.
If it ever comes to having to have them, let's make another version of
error_set(), maybe error_set_with_code(), that makes it possible to also set
an integer within `struct error'.
The only problem with the above solution is when we aggregate errors from
multiple functions (be it by calling one after another, or through nesting of
functions that may return an error).
But let's care about that when the time comes for it.
Diffstat (limited to 'plugins/coin')
0 files changed, 0 insertions, 0 deletions