General edge asymptotics of solutions of second-order elliptic boundary value problems I