It shall not be a violation of this chapter if any child subject to the curfew of this chapter is upon an emergency errand or legitimate business directed by the child's parent, guardian or other adult person having the care and custody of such child.