Add error callback to multimethod library