EventHubError Clase

Representa un error en el cliente.

Herencia
builtins.Exception
EventHubError

Constructor

EventHubError(message: str, details: List[str] | None = None)

Parámetros

Nombre Description
message
Requerido
details
valor predeterminado: None

Variables

Nombre Description
message
str

El mensaje de error.

error
str

Condición de error, si está disponible.

details

Los detalles del error, si se incluyen en la respuesta del servicio.

Métodos

add_note

Exception.add_note(nota): agregue una nota a la excepción.

with_traceback

Exception.with_traceback(tb): establezca self. traceback a tb y devuelve self.

add_note

Exception.add_note(nota): agregue una nota a la excepción.

add_note()

with_traceback

Exception.with_traceback(tb): establezca self. traceback a tb y devuelve self.

with_traceback()

Atributos

args