Throw err when no callback assigned.