Fix. Use the MagicError type over bound function.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>