Should use 'error' as second argument.