Share via


RequestEntityTooLargeError Classe

Risposta di errore con codice di stato 413 - Entità richiesta troppo grande

Ereditarietà
RequestEntityTooLargeError

Costruttore

RequestEntityTooLargeError(message: object | None = None, response: _HttpResponseCommonAPI | None = None, **kwargs: Any)

Parametri

message
valore predefinito: None
response
valore predefinito: None

Metodi

add_note

Exception.add_note(nota) - Aggiungere una nota all'eccezione

raise_with_traceback

Generare l'eccezione con il traceback esistente.

Deprecato dalla versione 1.22.0: questo metodo è deprecato perché non supportiamo più Python 2. Usare invece raise/from.

with_traceback

Exception.with_traceback(tb) : impostare self.Exception.with_traceback(tb). traceback in tb e restituire l'auto.

add_note

Exception.add_note(nota) - Aggiungere una nota all'eccezione

add_note()

raise_with_traceback

Generare l'eccezione con il traceback esistente.

Deprecato dalla versione 1.22.0: questo metodo è deprecato perché non supportiamo più Python 2. Usare invece raise/from.

raise_with_traceback() -> None

with_traceback

Exception.with_traceback(tb) : impostare self.Exception.with_traceback(tb). traceback in tb e restituire l'auto.

with_traceback()

Attributi

args