ProcessErrorHandler type
이벤트를 수신하거나 사용자가 제공한 함수를 실행할 때 발생하는 오류에 대해 EventHubConsumerClient 호출한 사용자 제공 함수의 서명이 subscribe() 메서드에 전달됩니다.
type ProcessErrorHandler = (
error: Error | MessagingError,
context: PartitionContext
) => Promise<void>