Custom error object in error-first callbacks